VGetSaveSwitchValue


 
Name
  VGetSaveSwitchValue - returns the value of the switch that saves files.
 
Synopsis
  VGetSaveSwitchValue(val)
  int *val;                             /*RETURN*/
 
Description
  VGetSaveSwitchValue 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
VDeleteOutputFilePrompt, VDisplayOutputFilePrompt, VGetSaveFilename, VGetSaveSwitchValue, VCheckEventsInButtonWindow.