Sample code:
<<dev """
greet$ = "howdy buds, this is the development version of the program"
""">>
<<prod """
greet$ = "good day ladies and gentlement, this is the production version of the program"
""">>
print greet$
dev
Description:
The dev directive tells the BAM preprocessor to only include the contained BASIC statements IF the development version of the program is being run or exported.
This is useful when you want the program to look/behave differently depending on the promotion context.
Syntax
<<dev """BASIC-statement(s)""">>
prod
Description:
The prod directive tells the BAM preprocessor to only include the contained BASIC statements IF the production version of the program is being run or exported.
This is useful when you want the program to look/behave differently depending on the promotion context.
Syntax
<<prod """BASIC-statement(s)""">>
No comments:
Post a Comment