User Tools

Site Tools


4rpl:commands:func_once

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:func_once [2021/01/14 10:47] virgilw4rpl:commands:func_once [2023/06/10 13:33] (current) Karsten75
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
 +
 +====== :Once ======
 +
 +===== Description =====
  
 ":Once" is called when a script first executes and then never again. It is similar to using a once/endonce block. ":Once" is called when a script first executes and then never again. It is similar to using a once/endonce block.
 +
 +===== Example =====
  
 <code 4rpl> <code 4rpl>
 :Once :Once
-   trace("A one time print")+   "A one time print" Trace
 </code> </code>
 +
 +===== See Also =====
 +
 +[[cw4:Programming notes]]
 +
4rpl/commands/func_once.1610639250.txt.gz · Last modified: 2021/01/14 10:47 by virgilw