VGetSwitchValue


 
Name
  VGetSwitchValue - returns the value of the switch that saves files.
 
Synopsis
  VGetSwitchValue(val)
  int *val;                             /*RETURN*/
 
Description
  VGetSwitchValue returns the value of the switch that saves files.
 
Return Value
  0 - work successfully.
  1 - memory allocation error.
 
Parameters
  val -  value of the switch returned from zero.
 
Side Effects
  None.
 
Entry Conditions
  VDisplayOutputFilePrompt should be called earlier.
 
Related Functions
VEraseOutputFilePrompt, VDisplayOutputFilePrompt, VGetSaveFilename, VGetSwitchValue, VCheckEventsInButtonWindow.