AminetAminet
Search:
83853 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/rexx/SuperEval.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Add trig (rexxmathlib) to eval command
Author:Chris Eburn <ceburn at midcoast.com.au>
Uploader:Chris Eburn <ceburn midcoast com au>
Type:util/rexx
Version:1.0
Architecture:m68k-amigaos
Required:rexxmathlib.library
Date:1998-04-27
Download:http://aminet.net/util/rexx/SuperEval.lha - View contents
Readme:http://aminet.net/util/rexx/SuperEval.readme
Downloads:265

What follows is the comment header of EVAL.rexx

/****
*   Enhanced "c:Eval" Command
*
*   With trig and other functions
*   see REXXMATHLIB.library for fuction details
*
*   syntax is the same as the rexxmathlib function calls
*              ie: func(x[,y])
*          OR spaces may be used as deliminators (in all funtions)
*              ie: func x [y]
*
*   There are two extra functions:
*
*   1)   DEG(deg,min,sec) outputs Decimal degrees
*     or the alternative syntax is DEG(dd.mmss)
*
*   2)   DMS(DD.dddd) outputs dd mm ss
*
*
*   If the function is unknown to rexxmathlib then the original line is
*      passed, as typed, to the c:eval function. This alows for all the
*      original "eval" maths (and syntax) to be used as a failsafe.
*
*
*   Add the line
*         Alias  Eval  rx rexx:eval.rexx []
*                 into the s:shell-startup script and use in any Shell
*                 syntax:  eval func(x[,y])  OR as per dos EVAL command
*   Put eval.rexx into rexx:
*   and rexxmathlib.library into libs:
*
*     NOTE: all angles are input as decimal DEGREES    (NOT radians)
**/


Contents of util/rexx/SuperEval.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  254     628  40.4% -lh5- 3d73 Apr 27  1998 SuperEval.info
[generic]                 1462    3520  41.5% -lh5- 7078 Apr 27  1998 SuperEval/Eval.rexx
[generic]                  653    1310  49.8% -lh5- ff58 Apr 27  1998 SuperEval/SuperEval.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    2369    5458  43.4%            Apr 27  1998

Aminet © 1992-2022 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>