Unknown macro: {alias}
Name
gvar — Get Geocap variables and status
Syntax
set var [gvar variable]
Description
The gvar command in the context set var [gvar variable] will transfer the Geocap variable or status of the variable into the the Tcl variable; in this case var. The gvar command is used in advanced scripting when reading internal Geocap variables or status is necessary.
Arguments
There is a long list of variables that can be attached to the gvar command as an argument.
Examples
The following example show the use of gvar command.
set numpoi [gvar numpoint] set n3 [expr $numpoi / 3] set pp [points x y z] dhi data set i 0 for {set j 0} {$j < $n3} {incr j} { for {set k 0} {$k < 3} {incr k} { set a [lindex $pp $i] incr i set b [lindex $pp $i] incr i set c [lindex $pp $i] eval sta $a $b $c incr i } rea ter mhi data app }
Unknown macro: {pagebreak}