Markers Run_Once

The Run_Once marker allows selecting part of the code that will be executed only the first time the file is executed. After the first execution the contents of this marker will be deleted from memory and will never be restored. If you try to run this code for a second time, it will be skipped.

Examples

begin{$I ..\..\..\EnigmaSDK\Delphi\run_once_begin.inc}// This message will be shown only once per execution
ShowMessage('This message is under RunOnce marker');{$I ..\..\..\EnigmaSDK\Delphi\run_once_end.inc}end;

See markers examples in the installation folder, Examples\MarkerRunOnce subfolder.