Changeset 132 for trunk/thune/doc

Show
Ignore:
Timestamp:
05/02/06 00:04:01 (3 years ago)
Author:
krobillard
Message:

Thune - Added math calls. Verify instructions now check multiple cells and generate a verbose error.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/doc/UserManual

    r130 r132  
    197197case      (data options -- )         Evaluate option which matches data. 
    198198throw     (val -- val)               Throw exception. 
     199try       (body catch -- )           Try body and catch exception. 
    199200error     (message -- error)         Throw error. 
    200 try       (body catch -- )           Try body and catch exception. 
     201verify    (a type -- a)              Throw error if datatype does not match. 
     202verify.2  (a b ta tb -- a b)         Throw error if datatypes do not match. 
     203verify.3  (a b c ta tb tc -- a b c)  Throw error if datatypes do not match. 
    201204========  =========================  ============================ 
    202205 
     
    274277---- 
    275278 
    276 =======  =================  ================= 
    277 Word     Stack Usage        Function 
    278 =======  =================  ================= 
    279 inc      (num -- num)       Increment int! 
    280 dec      (num -- num)       Decrement int! 
    281 add      (a b -- sum)       a + b 
    282 sub      (a b -- diff)      a - b 
    283 mult     (a b -- product)   a * b 
    284 div      (a b -- quotient)  a / b 
    285 =======  =================  ================= 
     279===========  =================  ================= 
     280Word         Stack Usage        Function 
     281===========  =================  ================= 
     282inc          (num -- num)       Increment int! 
     283dec          (num -- num)       Decrement int! 
     284add          (a b -- sum)       a + b 
     285sub          (a b -- diff)      a - b 
     286mult         (a b -- product)   a * b 
     287div          (a b -- quotient)  a / b 
     288abs          (n -- abs)         Absolute value 
     289negate       (n -- n) 
     290complement   (val -- val) 
     291to-rad       (deg -- rad)       Convert degrees to radians. 
     292to-deg       (rad -- deg)       Convert radians to degrees. 
     293sine         (n -- r) 
     294cosine       (n -- r) 
     295tangent      (n -- r) 
     296arcsine      (n -- r) 
     297arccosine    (n -- r) 
     298arctangent   (n -- r) 
     299square-root  (n -- r) 
     300===========  =================  ================= 
    286301 
    287302 
     
    308323no, off     false 
    309324eol         '^/' 
     325pi          3.14159265358979323846 
    310326==========  =========================== 
    311327