PHP Classes

File: Comments.xbt

Recommend this page to a friend!
  Classes of Bob Wedwick   PHP Expert System Engine   Comments.xbt   Download  
File: Comments.xbt
Role: Auxiliary data
Content type: text/plain
Description: Xbert class
Class: PHP Expert System Engine
Ask questions and make decisions based on answers
Author: By
Last change:
Date: 7 years ago
Size: 1,250 bytes
 

Contents

Class file image Download
Comments.xbt - /* demonstrates the various ways to use comments in a rule set. The slash * anywhere on the line makes it the start of a multiline comment. ,pau, even though this is a command it is inside a multiline comment. */ ,,* * * * * ,,Comments may take many forms. ,,Lines with # or // or ; in columns 1 or 2 ,,Lines with fewer than 3 columns. ,,Multiline comments that have the / slash * anywhere on a line. ,,Multiline comments end when the * slash / is anywhere on a line. ,,Comments are on several lines below starting after ,,vvvv # ,, using the # mark in col 1 ,#, using the # mark in col 2 // ,, using the // mark in col 1 ,//, using the // mark in col 2 ; ,, using the ; mark in col 1 ,;, using the ; mark in col 2 A line with just 1 column ,A line with just 2 columns # a comment marker can be in a variable as on the next line ,loc, <var> // <var>,, a comment marker coming from a variable ,,/* multiline comment can start by showing up in column 3. ,, More of the multiline comment. ,,*/ Last line of the multiline comment. /* This ia a multiline comment that both starts and ends on the same line. */ ,,^^^^ , pau ,You should not see anything between lines vvvv and ^^^^ above. ,con,Ran the Comments test.