`
Par2: Making a demo 2002-10-29 -- Randy Goodhew Trick number 19678:
Add a "define" flag in the project file named:
_DEMO_=>1
Now, wrap your demo code with:
COMPILE('**END_DEMO**',_DEMO_)
IF RECORDS(filename) => 3
BRW1.InsertControl = 0
END
**END_DEMO**
If you want to recompile in non-demo mode, just change
the define to:
_DEMO_=>0
Printed October 24, 2026, 2:58 pm This article has been viewed/printed 36227 times. |