home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume2 / pstrings / part01 / initvalparamS.p < prev    next >
Encoding:
Text File  |  1991-08-07  |  276 b   |  17 lines

  1.  
  2.  
  3.  
  4.  
  5. # include "strings.h"
  6.  
  7. procedure initvalparamS{(var s: String)};
  8. {
  9. * Initialises s, which should be a value parameter, to be
  10. * safely useable within the current procedure.
  11. *
  12. * increase ref count for a by-value param
  13. }
  14. begin
  15.     s^.REFS := s^.REFS + 1
  16. end{ -- initvalparamS};
  17.