home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / 8986 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.6 KB

  1. Path: sparky!uunet!ogicse!news.u.washington.edu!hardy.u.washington.edu!someday
  2. From: someday@hardy.u.washington.edu (Scott Johnson)
  3. Newsgroups: comp.databases
  4. Subject: Re: Arev 3.01
  5. Keywords: Revelation system variables
  6. Message-ID: <1ir6t3INN7a9@shelley.u.washington.edu>
  7. Date: 11 Jan 93 07:16:51 GMT
  8. Article-I.D.: shelley.1ir6t3INN7a9
  9. References: <cfpdea.18@pnv.palm.cri.nz> <1993Jan11.035709.17169@massey.ac.nz>
  10. Organization: University of Washington, Seattle
  11. Lines: 23
  12. NNTP-Posting-Host: hardy.u.washington.edu
  13.  
  14. In article <1993Jan11.035709.17169@massey.ac.nz> D.M.Todd@massey.ac.nz (D.M. Todd) writes:
  15. >I would also appreciate more detail on the use of
  16. >push.session/pop.session, though I believe you do have to declare
  17. >these system subroutines (or call them) the way you would MSG or
  18. >anything else.  I'm missing something about how they are used and how
  19. >it is any better than just savinmg system values off to various
  20. >internal variable names.  An example would be a great help.
  21. >
  22. >Thanks.
  23. >
  24. >David
  25.  
  26. Correct, you just put DECLARE SUBROUTINE PUSH.SESSION, POP.SESSION at
  27. the top of your program, then call them as I showed.  And these two
  28. routines really do just save/restore all those system variables to
  29. local variables for you.  It only saves you some space in your
  30. program.  COMPANY SECRET HERE: these two routines are each about 10
  31. lines long.  Probably some guy in the lab here got tired of
  32. painstakingly saving off all those variables, so he invented these
  33. routines off the top of his head to save some programming effort.
  34. That's where a lot of weird AREV system routines come from, actually.
  35.  
  36. -Scott
  37.