SAVE Verb - Save FileSyntaxSAVE SAVE fileid DescriptionFor BBj-specific information, see SAVEP Verb - BBj for BBj version 6.0 and higher. Also refer to SAVE Verb - BBj for BBj versions prior to 6.0. The SAVE verb writes a copy of the workspace program to a program file on the disk. SAVEP may be used instead of SAVE (see below).
The first two syntax examples save a program to a file that already exists. On some systems, the file may be dynamically resized to accommodate the program. The third syntax example creates a new program file while performing the SAVE. The int specifies the file size, though most systems ignore the value of int and create the file dynamically. PRO/5 6.0 and higher supports three different versions of the SAVEP algorithm. PRO/5 18.0 and higher supports four different versions of the SAVEP algorithm. PRO/5 6.0 and higher also supports an STBL() global variable to specify which SAVEP algorithm should be used. The variable is defined as follows: A$=STBL("!SAVEPVER","1") - Selects the original SAVEP format A$=STBL("!SAVEPVER","2") - Selects the SAVEP format introduced in Rev 2.2 A$=STBL("!SAVEPVER","3") - Selects the SAVEP format introduced in Rev 6.0 A$=STBL("!SAVEPVER","4") - Selects the SAVEP format introduced in Rev 18.0 The following errors may occur during execution of SAVE:
Examples>SAVE See Also______________________________________________________________________________________ Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks. |