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

« back to all changes in this revision

Viewing changes to helpfiles/runresult

  • 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
RUNRESULT instructionlist
 
2
 
 
3
        runs the instructions in the input; outputs an empty list if
 
4
        those instructions produce no output, or a list whose only
 
5
        member is the output from running the input instructionlist.
 
6
        Useful for inventing command-or-operation control structures:
 
7
 
 
8
                local "result
 
9
                make "result runresult [something]
 
10
                if emptyp :result [stop]
 
11
                output first :result
 
12