home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / TOOL_INC.ZIP / VARSTR.INT < prev    next >
Encoding:
Text File  |  1988-01-29  |  378 b   |  14 lines

  1.  
  2. type
  3.    varstring = ^longstring;
  4.  
  5.  
  6. procedure releasestr( var str:  varstring);
  7.    (* release the memory used by a varstring variable.  variable MUST
  8.       be pre-allocated or the program may crash!!! *)
  9.  
  10. procedure savestr( var tostr: varstring;
  11.                    from:      longstring);
  12.    (* save a regular string in a varstring; new allocation of varstring *)
  13.  
  14.