User Tools

Site Tools


dcl_symbols

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
dcl_symbols [2018/10/03 22:48] – add content lrickerdcl_symbols [2018/10/03 22:49] – tweaks lricker
Line 12: Line 12:
 DCL variables have **scope** (visibility): DCL variables have **scope** (visibility):
  
-  * Global symbols, created/assigned with the **''==''** (or '':=='') operator, are visible at any level, including on the command line (level 0) and within executing command files (scripts, level 1 and higher/deeper). +  * Global symbols, created/assigned with the **''==''** (or **'':==''**) operator, are visible at any level, including on the command line (level 0) and within executing command files (scripts, level 1 and higher/deeper). 
-  * Local symbols, created/assigned with the ''='' (or '':='') operator, usually used and visible only within command files where created (and in nested command files).+  * Local symbols, created/assigned with the **''=''** (or **'':=''**) operator, usually used and visible only within command files where created (and in nested command files).
  
 A DCL symbol can be used as a **command alias** -- the global variable's value is a string of characters, the first element or "word" of which is an executable DCL command; for example: A DCL symbol can be used as a **command alias** -- the global variable's value is a string of characters, the first element or "word" of which is an executable DCL command; for example:
dcl_symbols.txt · Last modified: 2018/12/03 19:28 by lricker

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki