User Tools

Site Tools


jvs:fscan:manual:chapter4:thiswin

fScan Reference Manual, Chapter 4 (Variables): thiswin

$Thiswin -- names associated with the current active window

usage:
$thiswin - the simple file name of the current window (no directories)
$thiswin2 - the filename for the current window (relative path)
$thiswin3 - the directory containing the current window data file (relative path)
$thiswin4 - the full file path name for the current window
$thiswin5 - the full path to the directory containing the current window file
$thiswin6 - the display name for the current window
$thiswin7 - the filename for the current window (relative to $exptdir)
$thiswin8 - the directory for the current window (relative to $exptdir)
$thiswin9 - the simple directory name for the current window (omit path to this directory)

THISWIN is always the name of the current active data set. Adding a number at the end of the variable name let's you choose what portion or form of the data set name you want; the meaning of these numerical modifiers is described above. The default modifier is 1 (so $thiswin is the same as $thiswin1).

The same naming convention applies to other filename variables (e.g. $prevwin, $pdigmfile). A somewhat different naming convention applies to directory variables (e.g. $curdir, $fscanhome, $wspacedir, etc).

See Also:
Variables, Strings, Prevwin, Pdigmfile, Curdir, Fscanhome, Subjectdir, Usrhomedir, Wspace1dir, Wspace2dir, Wspacedir

fScan Home, fScan Manual, Manual Help

jvs/fscan/manual/chapter4/thiswin.txt · Last modified: 2023/02/23 18:43 (external edit)