home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / bus / spred2.do < prev    next >
Text File  |  2006-10-19  |  12KB  |  282 lines

  1. Club 100 Library - 415/939-1246 BBS,    937-5039 NEWSLETTER, 932-8856 VOICE
  2.  
  3. Documentation for SPREAD.BA  06/19/84
  4.             by Woods Martin
  5.  
  6.             STARTING UP SPREAD
  7.  
  8.     Normally the caps lock key should be released to allow
  9. lower case entry of Labels.  Conversion to upper case is
  10. automatic when required.  In Model 100 Menu mode, move the
  11. cursor to SPREAD and press ENTER.  The default settings will
  12. display on the first line of the screen called the Command Line.
  13.  
  14.     spr cm=T rm= 20 p=S <=ENTER or new cm?_
  15.  
  16. Press ENTER to accept these defaults.  Later on a new "cm"
  17. column max can be entered if needed for skinny or fat models.
  18. "rm" will be recalculated and a choice of single or double
  19. precision requested.  The new parameters are displayed for
  20. acceptance or additional changes.
  21.     The program notes the highest column and row accessed
  22. and stores this data with each model file.  If the cm or rm
  23. values are reduced below model size, that fact will be reported
  24. on the next attempt to load the model and a restart will be
  25. requested.
  26.     The blank model will appear with the Memory message on
  27. the Command Line:
  28.  
  29.         spr cm=T rm= 20 p=S f=0 o=C ####m 3000s
  30.         WM3.   A   ..   B   ..   C   ..   D   .
  31.           0
  32.           1
  33.           2
  34.           3
  35.           4
  36.           5
  37.  
  38.     (If the Disk Video Interface (DVI) is enabled,
  39.         rows 6 through 20 will also display.)
  40.  
  41. The Memory message will appear briefly but can be reviewed at
  42. any time by the /M command.  In addition to cm, rm and
  43. precision, f=0 indicates default integer format (0 decimal
  44. places), o=C that recalculation order will be by columns, ####m
  45. shows unused memory and 3000s is the available string space.
  46.  
  47.  
  48.  
  49. --- Appendix III - ELEMENT DEFINITION ENTRY MODE ----------
  50.  
  51.     When ready for data entry, the Command Line at the top
  52. of the screen contains the Definition of the current Element
  53. (the Element displayed in reverse video) with Element
  54. coordinates in the box on the second line.  The cursor is
  55. positioned over the first character in the Definition above the
  56. first position in the left most column header displayed.  To the
  57. left of the cursor in the upper left corner is the Element type
  58. designator:  L> for Label, V> for Value, F> for Formula and
  59. blank for an empty Element.
  60.     The first key pressed determines the action to be taken.
  61. Pressing an Immediate Command key (ENTER ARROWs > !  # /) causes
  62. the action described in IMMEDIATE COMMANDS.  Any other key
  63. causes In> to appear in the upper left corner and starts Element
  64. Definition entry which is terminated with ENTER or one of the
  65. ARROW keys.  BKSP or ESC will restore original Element contents
  66. prior to termination.
  67.     Before starting on a new model, you can set a Global
  68. Value format using the /GF command.  If all entries are dollars
  69. and cents, for example, you will not have to define Element
  70. formats after each entry.  Just type /GF2 and all subsequent
  71. entries will format to two decimal places although individual
  72. Elements can still be formatted with the /F command.
  73.  
  74.  
  75.     DEFINITION ENTRY.  In> appears in upper left corner.
  76.  
  77. V> Value
  78.     If the first character is a numeral or .  + or - and there are
  79.     no other operators or Element references, the Element will be
  80.     marked as a Value.
  81. F> Formula
  82.     If the first character is @ or ( or if it is a numeral and
  83.     there are multiple operators or Element references in the
  84.     Definition, it will be marked as a Formula.
  85. L> Label
  86.     Any other first character (which includes space) will mark the
  87.     Element as a Label.  Spaces and all displayable characters are
  88.     valid in Labels but be careful with graphics because your
  89.     printer may not handle them properly. (An Element can be
  90.     forced to be Label regardless of first character by preceding
  91.     the entry with a double quote ["].)
  92. Corrections
  93.     Before terminating, the ESC key will delete the entire entry
  94.     and the BKSP key will delete the last character typed.  After
  95.     terminating, the cursor will blink over the first character in
  96.     the Element on the Command Line.  ARROWs, ENTER or other
  97.     Immediate Commands will leave the Element intact.  Any other
  98.     key will start a new entry.
  99. Terminating entry
  100.     ENTER terminates and leaves the current Element displayed in
  101.     reverse.  Any ARROW key terminates and then moves the current
  102.     Element as desired.
  103.  
  104.  
  105. --- Appendix IV - ARITHMETIC OPERATORS AND FUNCTIONS -----
  106.  
  107. OPERATORS
  108. [ + - * / ^ ] addition, subtraction, multiplication, division
  109. and exponention.  Parentheses may be used.
  110.  
  111. FUNCTIONS
  112. arg1 arg2 are constants, expressions or Elements; cr CR are
  113. Elements only.
  114.         ARITHMETIC
  115. @ABS(arg1)        absolute value
  116. @INT(arg1)        integer value
  117. @FIX(arg1)        truncate decimal part
  118. @SQRT(arg1)        square root
  119. @SIN(arg1 radians)    sine
  120. @COS(arg1 radians)    cosine
  121. @TAN(arg1 radians)    tangent
  122.     degrees * .0174533 = radians
  123. @ATAN(arg1)        arctangent
  124.     result in radians * 57.29578 = degrees
  125. @LN(arg1)        natural logarithm    
  126. @EXP(arg1)        exponential (antilog)
  127.         SPECIAL
  128. arg1*@ROUND(n)        rounds arg1 according to value of n
  129.               n>0 rounds n places right of decimal
  130.               n<0 rounds n places left of decimal
  131. @MIN(arg1,arg2)        returns smallest value of arg1 or arg2
  132. @MAX(arg1,arg2)        returns greatest value of arg1 or arg2
  133. @MOD(arg1,arg2)        returns remainder of arg1 / arg2
  134. @PI()            pi - 3.1415926536  () must be used
  135. @TYP(cr)        returns 1 if Element cr is Value or
  136.                       Formula, otherwise 0
  137.         RELATIONAL
  138. @<(arg1,arg2)        returns 1 if arg1<arg2,  otherwise 0
  139. @<=(arg1,arg2)        returns 1 if arg1<=arg2, otherwise 0
  140. @=(arg1,arg2)        returns 1 if arg1=arg2,  otherwise 0
  141. @>=(arg1,arg2)        returns 1 if arg1>=arg2, otherwise 0
  142. @>(arg1,arg2)        returns 1 if arg1>arg2,  otherwise 0
  143. @<>(arg1,arg2)        returns 1 if arg1<>arg2, otherwise 0
  144.         SUMMATION
  145.     The following functions work over a range of Elements such
  146. as @SUM(A0,A10), @AVG(C4,G4) or @COUNT(D0,D25).  These functions
  147. cannot be nested and the range must be from low to high.
  148. Diagonal coordinates are illegal.  Label or empty Elements are
  149. ignored in calculations.
  150.  
  151. @COUNT(cr,CR)        returns number  of Value or Formula
  152.                       Elements in range
  153. @SUM(cr,CR)        returns sum     of Value or Formula
  154.                       Elements in range
  155. @AVG(cr,CR)        returns average of Value or Formula
  156.                       Elements in range
  157.  
  158.  
  159. --- Appendix V - IMMEDIATE COMMANDS ----------------------
  160.  
  161.          ARROWs  ENTER  >  !  #  /
  162.  
  163. ARROWs
  164.     Move the cursor to the next Element in the selected
  165.     direction.  If sheet limits are reached, the tone will
  166.     sound.
  167.     <shift left ARROW> -- Moves cursor to leftmost column on
  168.         the screen.  If already there, it moves the cursor
  169.         one screen to the left.
  170.     <control left ARROW> -- Moves cursor to column "A".
  171.     <shift right ARROW> -- Moves cursor to rightmost column on
  172.         the screen.  If already there, it moves the cursor
  173.         one screen to the right.
  174.     <control right ARROW> -- Moves cursor to rightmost column
  175.         of current model.
  176.     <shift up ARROW> -- Moves cursor to the top of the screen.  If
  177.         already there, it moves the cursor up one screen.
  178.     <control up ARROW> -- Moves cursor to row 0.
  179.     <shift down ARROW> -- Moves cursor to the bottom of the
  180.         screen.  If already there, it moves the cursor down
  181.         one screen.
  182.     <control down ARROW> -- Moves cursor to bottom row of
  183.         current model.
  184. ENTER
  185.     If current Element is a Formula, it will be recalculated.
  186. >  GOTO:_
  187.         Type coordinates of desired column and row, ENTER. 
  188. !  Recalculate 
  189.         -- will take place by rows or columns (see /GO ) with
  190.         progress displayed.  The equation evaluator is skipped for
  191.         Label and Value entries and only the portion of the
  192.         sheet which has been accessed is scanned.
  193. #  Convert Formula Definition in current Element to its Value.
  194.  
  195.  
  196. --- Appendix VI - SLASH COMMANDS --------------------------
  197.  
  198.     Pressing [ / ] produces this Command Line display:
  199.  
  200.         cmd: Hd Ed In De Re Bl Fm Gl Pr St Me
  201.  
  202.     Pressing the corresponding first letter selects the 
  203.     desired command.  Any other key will abort.
  204.  
  205. /H  Header entry (In> appears in the upper left corner.)
  206.         Permits typing Labels across several columns without 
  207.         being concerned with breaking the text up into 9 
  208.         character segments.
  209. /E  Editing Definitions   ( Ed> in the upper left corner.)
  210.         The Definition displayed on the Command Line can be
  211.         edited as in Model 100 TEXT mode with ARROW, BKSP, CTRL,
  212.         SHIFT, and DEL keys.  ESC aborts and ENTER accepts the
  213.         changes.
  214. /I  Insert: Col Row _
  215.         C or R inserts column or row at current Element.
  216. /D  Delete: Col Row _
  217.         C or R deletes column or row at current Element.
  218.         INSERT-DELETE limitations:  Only column references to
  219.         the right of or row references below the current Element
  220.         are adjusted by commands.
  221. /R  Source: CR _        Replicate command.
  222.         Type Source begin Element <ENTER>
  223.         Type Source  end  Element <ENTER>
  224.         Type Target begin Element <ENTER>
  225.         Type Target  end  Element <ENTER>
  226.             End Elements must not be less than beginning.  Diagonal
  227.             replication is illegal.  Source begin defaults to
  228.             current Element; end defaults to begin.  Any references
  229.             in a Formula Definition being replicated to another
  230.             Element (such as+C5) will result in this display:
  231.                        +C5<rep R N _
  232.             Entering N will replicate the reference "as is"
  233.             in the new Element.  Entering R will cause a
  234.             relative offset to be added to the row or column
  235.             reference.  Where an Element is being replicated
  236.             into several other Elements, the R N query will
  237.             appear only once.
  238. /B  Blank
  239.     ENTER or ARROWs will blank and zero Element.  Pressing
  240.     any other key leaves Element unchanged.
  241. /F  Format: Decimal 0-7 or S _
  242.     Sets Value format of current Element to integer or up to
  243.     7 decimal places or scientific notation.  Any value
  244.     which will not fit in current format will automatically
  245.     shift to scientific notation.  (See Global format.)
  246. /G  Global: O F _
  247.     O Recalc Order: R C _ Selects recalculation order by Rows or
  248.         by Columns (default).
  249.     F Format: Decimal 0-7 or S _ Sets default format for all Value
  250.         Elements - override with [ /F ].
  251.     W If Disk Video Interface enabled, switches between 40 and 
  252.         80 character display.
  253.     Global commands are stored with the model for later use.
  254.  
  255. /P  Print: Printer, Device _ (First use [ > ] to position cursor
  256.         at upper left of section to be printed.)
  257.     If [ P ] is pressed the parallel port LPT: will be used,
  258.     if [ D ] is pressed then
  259.         Spec: _ will appear.  Type standard COM:, MDM:, CAS:, 0: or
  260.             1:  file spec.  If RAM: or no device is entered, the
  261.             action will abort to avoid the RAM print using bug.
  262.     Lower right _ Type the desired column(letter) and row(number)
  263.             for printing to end.
  264. /S   Store: # L S Q C _
  265.     # Data: L S _ A Data Transfer file will be loaded or saved.
  266.         First position current Element at upper left of model
  267.         section to be loaded or saved.  Enter lower right of
  268.         section when requested.
  269.     L Load File:_ The menu of RAM files is displayed. Type the
  270.         model name desired (Files from other devices are OK). The
  271.         model is loaded and then calculated.
  272.     S Save File:_ Type filespec (default is RAM but other devices
  273.         can be used).
  274.     Q Quit:  Confirm=Y Abort= <ENT>_ Y will cause return to Menu.
  275.         Any other key will abort.
  276.     C Clear:  Confirm=Y Abort= <ENT>_ Y clears memory and starts a
  277.         new model.  Any other key aborts.  Quit and Clear are
  278.         accessed through the /S store command as a reminder to Save
  279.         files first.
  280. /M Refreshes screen and causes Memory line to print showing free
  281.     memory and parameter values - see STARTING UP SPREAD.
  282.