This is part of the HicEst documentation
$CMD_LINE: Retrieve the Command Line String
Global Variable $CMD_LINE has the command line string as reported by Windows when HicEst is started from a command line or from WINDOWS shell command.
⇾Home
⇾Contents
⇾more Programming
⇾ Examples
Bookmarks:
⇾set_variables_from_command_line
⇾start_in_run_mode
Use $CMD_LINE as any other string to control your script
"RUN=" somewhere in $CMD_LINE to
start_in_run_mode
"c:\...\
HicEst
.exe yourscript.hic RUN= XYZ=3.14 ALFA="some string"
This will make $CMD_LINE available as a global variable in yourscipt.hic.
Try the
INIT
() function to
set_variables_from_command_line
INIT
($CMD_LINE, alfa, xyz)
! will set xyz to 3.14 and alfa to "some string"
To close
HicEst
from within the script use
ALARM
()
ALARM
(999) will immediately close
HicEst
⇾
Support HicEst
⇾
Impressum
©2000-2019 Georg Petrich, HicEst Instant Prototype Computing. All rights reserved.