~ubuntu-branches/debian/lenny/ucblogo/lenny

« back to all changes in this revision

Viewing changes to helpfiles/find

  • Committer: Bazaar Package Importer
  • Author(s): Hamish Moffatt
  • Date: 2001-09-02 15:15:21 UTC
  • Revision ID: james.westby@ubuntu.com-20010902151521-doo25fmfq7v3pxkg
Tags: upstream-5.1
ImportĀ upstreamĀ versionĀ 5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
FIND tftemplate data                                    (library procedure)
 
2
 
 
3
        outputs the first constituent of the data input (the first member
 
4
        of a list, or the first character of a word) for which the value
 
5
        produced by evaluating the template with that consituent in its
 
6
        slot is TRUE.  If there is no such constituent, the empty list
 
7
        is output.
 
8
 
 
9
        In a template, the symbol ?REST represents the portion of the
 
10
        data input to the right of the member currently being used as
 
11
        the ? slot-filler.  That is, if the data input is [A B C D E]
 
12
        and the template is being evaluated with ? replaced by B, then
 
13
        ?REST would be replaced by [C D E].
 
14
 
 
15
        In a template, the symbol # represents the position in the data
 
16
        input of the member currently being used as the ? slot-filler.
 
17
        That is, if the data input is [A B C D E] and the template is
 
18
        being evaluated with ? replaced by B, then # would be replaced
 
19
        by 2.
 
20