**fScan Reference Manual, Chapter 4 (Variables): globals ** ===== Global variables ===== Global fScan variables are always defined. They can be character strings or numbers. Summary table of global variables:\\ |[[jvs:fscan:manual:chapter4:accept|accept]]|[[jvs:fscan:manual:chapter4:active|active]]|[[jvs:fscan:manual:chapter4:alert|alert]]|[[jvs:fscan:manual:chapter4:allscale|allscale]]|[[jvs:fscan:manual:chapter4:autoview|autoview]]|[[jvs:fscan:manual:chapter4:color|color]]| |[[jvs:fscan:manual:chapter4:colormap|colormap]]|[[jvs:fscan:manual:chapter4:convolve|convolve]]|[[jvs:fscan:manual:chapter4:copymaskbits|copymaskbits]]|[[jvs:fscan:manual:chapter4:datafile|datafile]]|[[jvs:fscan:manual:chapter4:datapath|datapath]]|[[jvs:fscan:manual:chapter4:datasetname|datasetname]]| |[[jvs:fscan:manual:chapter4:datatype|datatype]]|[[jvs:fscan:manual:chapter4:design|design]]|[[jvs:fscan:manual:chapter4:dicomtemplate|dicomtemplate]]|[[jvs:fscan:manual:chapter4:discard|discard]]|[[jvs:fscan:manual:chapter4:displayscale|displayscale]]|[[jvs:fscan:manual:chapter4:filename|filename]]| |[[jvs:fscan:manual:chapter4:flirtmtx|flirtmtx]]|[[jvs:fscan:manual:chapter4:font|font]]|[[jvs:fscan:manual:chapter4:fscanlog|fscanlog]]|[[jvs:fscan:manual:chapter4:glossary|glossary]]|[[jvs:fscan:manual:chapter4:hrdelay|hrdelay]]|[[jvs:fscan:manual:chapter4:icon|icon]]| |[[jvs:fscan:manual:chapter4:imageformat|imageformat]]|[[jvs:fscan:manual:chapter4:imagename|imagename]]|[[jvs:fscan:manual:chapter4:inset|inset]]|[[jvs:fscan:manual:chapter4:linkedfile|linkedfile]]|[[jvs:fscan:manual:chapter4:list|list]]|[[jvs:fscan:manual:chapter4:loc|loc]]| |[[jvs:fscan:manual:chapter4:lutscale|lutscale]]|[[jvs:fscan:manual:chapter4:mainflag|mainflag]]|[[jvs:fscan:manual:chapter4:mainwidth|mainwidth]]|[[jvs:fscan:manual:chapter4:map|map]]|[[jvs:fscan:manual:chapter4:maptype|maptype]]|[[jvs:fscan:manual:chapter4:margins|margins]]| |[[jvs:fscan:manual:chapter4:matrix|matrix]]|[[jvs:fscan:manual:chapter4:menuflag|menuflag]]|[[jvs:fscan:manual:chapter4:name|name]]|[[jvs:fscan:manual:chapter4:number|number]]|[[jvs:fscan:manual:chapter4:outformat|outformat]]|[[jvs:fscan:manual:chapter4:overwrite|overwrite]]| |[[jvs:fscan:manual:chapter4:param|param]]|[[jvs:fscan:manual:chapter4:pdigmfile|pdigmfile]]|[[jvs:fscan:manual:chapter4:quitconfirm|quitconfirm]]|[[jvs:fscan:manual:chapter4:quitstr|quitstr]]|[[jvs:fscan:manual:chapter4:reg|reg]]|[[jvs:fscan:manual:chapter4:rtdxyzval|rtdxyzval]]| |[[jvs:fscan:manual:chapter4:rtdxyzwin|rtdxyzwin]]|[[jvs:fscan:manual:chapter4:schedule|schedule]]|[[jvs:fscan:manual:chapter4:showpanes|showpanes]]|[[jvs:fscan:manual:chapter4:showtext|showtext]]|[[jvs:fscan:manual:chapter4:showzoom|showzoom]]|[[jvs:fscan:manual:chapter4:string|string]]| |[[jvs:fscan:manual:chapter4:subtype|subtype]]|[[jvs:fscan:manual:chapter4:surfsubject|surfsubject]]|[[jvs:fscan:manual:chapter4:sysvarb|sysvarb]]|[[jvs:fscan:manual:chapter4:taskbar|taskbar]]|[[jvs:fscan:manual:chapter4:taskname|taskname]]|[[jvs:fscan:manual:chapter4:tempdir|tempdir]]| |[[jvs:fscan:manual:chapter4:text2flag|text2flag]]|[[jvs:fscan:manual:chapter4:textflag|textflag]]|[[jvs:fscan:manual:chapter4:thumbsize|thumbsize]]|[[jvs:fscan:manual:chapter4:topblank|topblank]]|[[jvs:fscan:manual:chapter4:xml|xml]] ====String variables==== |**Name**|**Description** | |[[jvs:fscan:manual:chapter4:user|user]]|Name of current user| |[[jvs:fscan:manual:chapter4:allscale|allscale]]| | |[[jvs:fscan:manual:chapter4:computer|computer]]|Name of local computer] |[[jvs:fscan:manual:chapter4:copymaskbits|copymaskbits]]| | |[[jvs:fscan:manual:chapter4:curdir|curdir]]| The current working directory| |[[jvs:fscan:manual:chapter4:fscandir|fscandir]]| The name of the fScan home directory| |[[jvs:fscan:manual:chapter4:hostname|hostname]]|Name of host (if network connected)| |[[jvs:fscan:manual:chapter4:hrdelay|hrdelay]]| | |[[jvs:fscan:manual:chapter4:mainflag|mainflag]]| Integer flag controlling Main menu display options| |[[jvs:fscan:manual:chapter4:mainwidth|mainwidth]]| Width of Main menu data set name display| |[[jvs:fscan:manual:chapter4:margins|margins]]| Window horizontal and vertical margins| |[[jvs:fscan:manual:chapter4:overwrite|overwrite]]| File overwrite control flag| |[[jvs:fscan:manual:chapter4:peekstr|peekStr]]| Interactive commands to execute at fScan start-up]] |[[jvs:fscan:manual:chapter4:prevwin|prevwin]]| The name of the previous window| |[[jvs:fscan:manual:chapter4:quitstr|quitStr]]| Interactive commands to execute when fScan terminates| |[[jvs:fscan:manual:chapter4:showpanes|showpanes]]| Number of vertical panes in Tiled display mode| |[[jvs:fscan:manual:chapter4:showzoom|showzoom]]| Default window zoom factor| |[[jvs:fscan:manual:chapter4:subjectdir|subjectdir]]| The name of the current subject directory| |[[jvs:fscan:manual:chapter4:subjectname|subjectname]]| The name of the current subject| |[[jvs:fscan:manual:chapter4:thisevents|thisevents]]| The name of the current events| |[[jvs:fscan:manual:chapter4:thispdigm|thispdigm]]| The name of the current pdigm file| |[[jvs:fscan:manual:chapter4:thiswin|thiswin]]| The name of the current window| **Note:** Some string variables can be modified by adding a number after the name. See [[jvs:fscan:manual:chapter4:thiswin|Thiswin]] for an example of how to use such number modifiers to see the data variable in different formats. ====Number variables==== |**Name**|**Description** | |[[jvs:fscan:manual:chapter4:autoview|autoview]]|Default window configuration flags| |[[jvs:fscan:manual:chapter4:]]| | **See Also:**\\ [[jvs:fscan:manual:chapter4|Variables]], [[jvs:fscan:manual:chapter2:if|If command]], [[jvs:fscan:manual:chapter2:set|Set command]] [[jvs:fscan|fScan Home]], [[jvs:fscan:manual|fScan Manual]], [[jvs:fscan:manual:help|Manual Help]]