home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / apple2 / 26847 < prev    next >
Encoding:
Text File  |  1993-01-12  |  980 b   |  28 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!caen!aal.itd.umich.edu!jmh
  3. From: jmh@aal.itd.umich.edu (Jeff Hansen)
  4. Subject: Problem with UltraMacros: & path
  5. Message-ID: <Hzg=xLA@engin.umich.edu>
  6. Date: Tue, 12 Jan 93 21:52:29 EST
  7. Organization: Campus Computing Sites, University of Michigan
  8. Reply-To: jmh@umich.edu
  9. Originator: jmh@apollo46
  10. Nntp-Posting-Host: apollo46.aal.itd.umich.edu
  11. Lines: 15
  12.  
  13.  
  14. I can't get the "& path" in the following UltraMacros (3.1) macro to
  15. work.  It compiles fine, and the rest of the macro works, it just
  16. doesn't perform the path change.  I have other macros where I've
  17. successfully used it.  Anyone have any experience using & path?
  18.  
  19.     L:<asr oa-q find if z = 0 then & path : & "/HD/APPLEWORKS/DB/" :
  20.     esc rtn rtn find rtn else rtn endif>! Goto file $0, or load it
  21.  
  22. The macro, used as a subroutine, goes to the file in $0, and if it's not
  23. on the desktop, it loads it.
  24. -- 
  25. Jeff Hansen
  26. -----------
  27. Internet: jmh@umich.edu        BitNet: userHCQ7@UMICHUM
  28.