next up previous contents index
Next: Help Window Up: Implementation of the Previous: List Module

File Panel

 

After clicking DONE, the directory and the four file names are copied from the AsciiTextWidgets ( ui_path, ui_fileNET, ui_filePAT, ui_fileCFG, ui_fileTXT) into the corresponding global variables ( ui_pathname, ui_filenameNET, ui_filenamePAT, ui_filenameCFG, ui_filenameTXT).

The file ui_fileProcs.c contains the functions for loading and saving of nets, patterns, configurations and texts. The structure of these functions is:

PROCEDURE save;
IF a file with this name already exists THEN
  IF User allows overwrite THEN
   save;
  ELSE
   abort and message;
END;

PROCEDURE load;
IF a file with this name already exists THEN
  load;
  IF error THEN message;
END;
 



Niels Mache
Wed May 17 11:23:58 MET DST 1995