home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp48 / 5657 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.8 KB

  1. From: akcs.joehorn@hpcvbbs.cv.hp.com (Joseph K. Horn)
  2. Date: Tue, 10 Nov 1992 07:40:03 GMT
  3. Subject: Re: IR interface protocol question
  4. Message-ID: <2aff630d.1733.4comp.sys.hp48.1@hpcvbbs.cv.hp.com>
  5. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-cv!hp-pcd!hpcvra!rnews!hpcvbbs!akcs.joehorn
  6. Newsgroups: comp.sys.hp48
  7. References: <1992Sep16.134759.28496@hellgate.utah.edu> <1d6036INNeiv@lily.csv.w
  8. Keywords: IR interface, derivatives, .ZIP files
  9. Lines: 35
  10.  
  11. walton@cs.utah.edu [Cory woody Walton] asks:
  12.  
  13. > what is the meaning of the CONDITIONAL, the third (optional)
  14. > parameter in the list when doing @MATCH
  15.  
  16. It's not clear in the old 2-volume Owner's Manual (see page 415; it
  17. merely says " 'conditional' is an optional specification of an
  18. additional condition that must be met before the replacement is
  19. made").  The new 1-volume manual spells it out better.  The following
  20. is extrapolated from pages 22-23 to 22-24:
  21.  
  22.      You can also make conditional transformations -- the
  23.      transformation occurs or not depending on a condition
  24.      you specify.
  25.  
  26.      The list specifying a conditional transformation has
  27.      this form:
  28.  
  29.      { 'search'  'replace'  'conditional' }
  30.  
  31.      For a conditional transformation, the replacement
  32.      occurs only if the conditional expression (with '
  33.      delimiters) evaluates to a nonzero value (true).
  34.  
  35. As with regular (unconditional) MATCHes, the output to level 1 is a
  36. flag that indicates whether or not a replacement occurred.
  37.  
  38. I hope this helps.  BTW, you may find a copy of the new Owner's Manual
  39. ($24.95 from EduCALC, stock #2250) and/or a copy of the Programmer's
  40. Reference Manual ($19.95 from EduCALC, stock #2289) to be a worthwhile
  41. investment.
  42.  
  43. -Joseph K. Horn-   -Peripheral Vision, Ltd.-
  44. akcs.joehorn@hpcvbbs.cv.hp.com
  45. Disclaimer: I don't work for HP, EduCALC, or anybody else.
  46.