` Printed Icetips Article

Icetips Article



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 April 27, 2024, 8:00 pm
This article has been viewed/printed 35114 times.