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