User Tools

Site Tools


jvs:fscan:manual:chapter4

Differences

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

Link to this comparison view

jvs:fscan:manual:chapter4 [2013/06/11 17:40]
voyvodic
jvs:fscan:manual:chapter4 [2023/02/23 18:43]
Line 1: Line 1:
-**fScan Reference Manual, Chapter 4 (Variables): Contents ** 
- 
-===== fScan internal variables ===== 
- 
-fScan supports several different types of internal variables. Values of some variables are global -- they do not change when you move from one active window to another.  Other variables are workspace or data set specific -- their values will change depending on which window is currently active. 
- 
-  * [[jvs:fscan:manual:chapter4:strings|Global string variables]] 
-  * [[jvs:fscan:manual:chapter4:control|Global control variables]] 
-  * [[jvs:fscan:manual:chapter4:uservarbs|User-defined variables]] 
-  * [[jvs:fscan:manual:chapter4:datasetvarbs|Data-set number variables]] 
-  * [[jvs:fscan:manual:chapter4:datasetstrings|Data-set string variables]] 
-  * [[jvs:fscan:manual:chapter4:datasetarrays|Data-set array variables]] 
- 
-==== Accessing data variables ==== 
-In general, data variable values can be accessed by specifying the name of the variable, preceded by the '$' character.  To get the status of a variable, substitute '?' for '$'; the status is -1 if the named variable is not defined, it is 0 if it is defined but empty, and it is a positive value (the size of the variable) if it is defined and not empty. 
- 
-For example:\\ 
-   -echo Window: $thiswin WorkSpace $wsnum         ; display name and workspace of current active window 
-   -echo Varb: ?curdir ?thiswin ?myvarb            ; test whether these variables are defined 
- 
-Variable operators:                
-  * $ 
-  * ? 
-  * exists 
-  * filepath 
-  * relpath 
-  * tables 
-    * listitem 
-    * listflag 
- 
- 
- 
-**See Also:**\\ 
-[[jvs:fscan:manual:chapter2:set|Set]], [[jvs:fscan:manual:chapter2:if|If]], and [[jvs:fscan:manual:chapter2:echo|Echo]] commands.\\ 
-[[jvs:fscan|fScan Home]], 
-[[jvs:fscan:manual|fScan Manual]], 
-[[jvs:fscan:manual:help|Manual Help]] 
  
jvs/fscan/manual/chapter4.txt · Last modified: 2023/02/23 18:43 (external edit)