|
Msappavail |
Top Previous Next |
|
Msappavail checks which Microsoft Office programs are installed.
The sequence
$call msappavail -option can be used in GAMS to checks for the presence of the Microsoft Office software package option on the machine. Allowable values of option: -? List all known Office applications and their status -Access -Excel -Explorer -FrontPage -Outlook -PowerPoint -Project -Word
Upon return if called with an option other than -? then the GAMS recognized errorlevel is set to 1 if the program looked for was not found. set to 0 if found Whether or not the item was found of not using $if errorlevel 1 $goto noExcel
which is true if the item is not found. The file CTA.gms from the model library uses this feature.
|