|
Visual Prolog 6.x Best PracticeVisual Prolog 6.x best practice describes the coding standards as used by Prolog Development Center when writing programs in Visual Prolog 6.x. As such it contains descriptions of formalities, but it also contains more pragmatic style suggestions and recommendations. The description is intended for use with Visual Prolog 6.0, but many issues are relevant for former versions as well. Coding Standard contains rules for formatting Visual Prolog 6.x code (i.e. casing, indentation, line breaking, etc). Programming Pragmatics contains less formal suggestions. Notice: These guidelines contains negative examples, i.e. examples of bad/wrong style etc. Such examples (or the negative part) will be colored red and sometimes even boldfaced: clauses somePredicate(...) :- caseTest(...), caseAction1(...), !. % This cut is in the wrong place somePredicate(...) :- caseAction2(...). |