home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / logo / powerlogo / logo-startup.doc < prev    next >
Text File  |  1992-11-10  |  6KB  |  206 lines

  1.  
  2.    LOGO-Startup.doc
  3.  
  4. The default 'LOGO-Startup' file loads all project files specified, and
  5. provides the following:
  6.  
  7. Menu items:
  8.  
  9.    Load           Load a LOGO program file. Gets a file name from the
  10.                   file requester.
  11.  
  12.    Save           This saves contents of all unprotected variables to a
  13.                   LOGO program file. Gets the file name from the file
  14.                   requester.
  15.  
  16.    Edit           Switch to text editor.
  17.  
  18.    Edit File      Edit a LOGO program file. Gets a file name from the
  19.                   file requester.
  20.  
  21.    Turtle         Prepare screen, window, and turtle for turtle graphics.
  22.                   This loads the 'Turtle-Shell' file.
  23.  
  24.    Interrupt      Interrupt a program. This is like the break key (CTRL G)
  25.                   except you may continue by giving the command 'stop'.
  26.  
  27.    Top Level      Stop a program. This is similar to the break
  28.                   key (CTRL G).
  29.  
  30.    Quit           Exit from LOGO.
  31.  
  32. Utility procedures:
  33.  
  34. all
  35.    Output list of all variable names.
  36.  
  37. allnames
  38.    Output list of names that contain something other than procedures.
  39.  
  40. allprocs
  41.    Output list of names that contain procedures.
  42.  
  43. clean-quit
  44.    Exit LOGO.
  45.  
  46. closeall
  47.    Close all files, turtles, windows, and screens.
  48.  
  49. combine        object object
  50.          object = Any list or word.
  51.    Concatenates the objects using `se' or `word' as appropriate based
  52.    on the second input.
  53.  
  54. command        text ( port-name host-name file-ext )
  55.          text =   Word or list containing instruction to be run
  56.                   by the command destination.
  57.          port-name = Name of destination port, default 'REXX'.
  58.          host-name = Name of port to get commands back from ARexx,
  59.                      default output of 'hostport'.
  60.          file-ext =  File name extension ARexx will use to find
  61.                      command, default 'LOGO'.
  62.    LOGO command to send an ARexx command.
  63.  
  64. create-message
  65.    Allocate an ARexx message.
  66.  
  67. delete-message
  68.    deallocate an ARexx message.
  69.  
  70. ed             name
  71.                name-list
  72.          name = Word, a variable name.
  73.          name-list = List of names.
  74.    Edit the contents of specified variables. This procedure works by
  75.    calling the 'QED' text editor by Darren M. Greenwald, or by calling
  76.    'C:ED'.
  77.  
  78. edf            file-name
  79.          file-name = An Amiga DOS file name (word or list).
  80.    Edit the contents of specified file. This procedure works by
  81.    calling the 'QED' text editor by Darren M. Greenwald, or by calling
  82.    'C:ED'.
  83.  
  84. edit           ( name )
  85.                ( name-list )
  86.          name = Word, a variable name.
  87.          name-list = List of names.
  88.    Edit the contents of specified variables. This procedure works by
  89.    calling the 'QED' text editor by Darren M. Greenwald, or by calling
  90.    'C:ED'.
  91.  
  92. emptyof       object
  93.          object = Any list or word.
  94.    Returns the empty word if the `object' is a word, or the empty list if
  95.    `object' is a list.
  96.  
  97. existp         name
  98.    Output true if name is a variable.
  99.  
  100. filter        test object
  101.          test = A comparison instruction (word or list).
  102.          object = Any list or word.
  103.    Outputs an object that contains only those items that satisfy the
  104.    test.  Example, `filter [ < 10 ] [ 9 11 13 3 ]' produces `[ 11 13 ]'.
  105.  
  106. flush
  107.    Erase all unprotected names.
  108.  
  109. ignore         object ( object... )
  110.          object = Any word or list.
  111.    Does nothing. Ignores the output of an operation.
  112.  
  113. interupt
  114.    A LOGO command shell that may be run from within other procedures.
  115.  
  116. names
  117.    Output list of unburied names that contain something other than
  118.    procedures.
  119.  
  120. pots           name
  121.                name-list
  122.          name = Word, a variable name.
  123.          name-list = List of names.
  124.    Print out procedure titles. Prints names, inputs, and optional inputs.
  125.  
  126. procs
  127.    Output list of unburied names that contain procedures.
  128.  
  129. prosave        file-name name
  130.                file-name name-list
  131.          file-name = An AmigaDOS file name (word or list).
  132.          name = Word, a variable name.
  133.          name-list = List of names.
  134.    Save names, their bindings, and their protection (bury) status to
  135.    file with an icon.
  136.  
  137. remove        object object
  138.          object = Any list or word.
  139.    Output second object after removing any items that are also in the
  140.    first object.  Example, `remove "aeiou "hello' produces `"hll'.
  141.  
  142. reset
  143.    Close everything, erase all names but the 'LOGO-Startup' file.
  144.  
  145. reverse        object
  146.          object = Any word or list.
  147.    Reverse the order of the items in the object.
  148.  
  149. say            object ( object )
  150.          object = Any word or list.
  151.    Uses the Amiga's speech capabilities to `say' the object, by printing to
  152.    the 'SPEAK:' device.
  153.  
  154. set-turtle     ( view-modes bit-planes )
  155.          view-modes = Number, viewport modes, sum of: 
  156.                   1 = hires
  157.                   2 = lace
  158.          bit-planes = Number of bit planes (1 to 6) .
  159.    Prepare screen, window, and turtle for turtle graphics. This loads the
  160.    'Turtle-Shell' file.
  161.  
  162. sort           test list
  163.          test = A compare instruction (word or list).
  164.          list = Any list.
  165.    Sort list based on test.
  166.  
  167. spr            object
  168.          object = Any word or list.
  169.    Print out sorted contents of lists verticaly.
  170.  
  171. switch         number list
  172.          number = Index into list.
  173.          list = List of instruction-lists.
  174.    Run numbered instruction-list from the list.
  175.  
  176. vpr            object
  177.          object = Any word or list.
  178.    Print out contents of lists verticaly.
  179.  
  180. Examples:
  181.  
  182. To print a list of all variable names currently in use, type this command:
  183.  
  184.    vpr all
  185.  
  186. To list just the names of the procedures:
  187.  
  188.    vpr allprocs
  189.  
  190. To list them alphabetecally:
  191.  
  192.    vpr sort [ alphap ] allprocs
  193.  
  194. or:
  195.  
  196.    spr allprocs
  197.  
  198. or just names:
  199.  
  200.    spr names
  201.  
  202. To save the contents of all variables currently in use:
  203.  
  204.    prosave filerequest all
  205.  
  206.