Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!ukfsc.iinus1.ibm.com!cathcart From: cathcart@ukfsc.iinus1.ibm.com ("Mark Cathcart") Newsgroups: comp.lang.rexx Subject: REXX Language levels Message-ID: <9012191426.AA00905@ucbvax.Berkeley.EDU> Date: 19 Dec 90 14:22:15 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: cathcart@ukfsc.iinus1.ibm.com Lines: 102 I thought you might be interested in the attached summary of changes to the REXX Language. There are some notes on the IBM implementations. You can find out the level of your REXX Interpreter using the Parse Version Instruction. For Example, Parse Version int lvl date Say 'REXX Interpreter' int 'is at level' lvl =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Level 3.40 - Base is SAA Procedures Language Level 1 being a (rather comprehensive) subset of REXX as supported by the VM/CMS Release 5 System Product Interpreter. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Level 3.45 - add built-in functions: digits, form, fuzz, wordpos - add DBCS built-in functions - add VALUE to Numeric Form - add EXMODE to Options for DBCS handling - add FAILURE condition to Signal and Trace - add 'Nomatch' option to verify bif - add 'Basedate' and 'Normal' options to date bif - add 'Civil' and 'Normal' options to time bif - add strict comparison operators (<< >> <<= >>= \<< \>>) - add backslash (\) as synonym/replacement for not (^) character All the following is not part of SAA Procedures Language. It is still supported in VM and MVS implementations. REXX OS/2 is the first implementation that excludes them. - delete dollar, at, hash, cent from symbol character set - delete 'Julian' and 'Century' options from date bif - delete Upper instruction (use translate bif instead) - delete externals, find, index, justify, linesize, userid bifs =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Level 3.46 - add Call On/Off for Error, Failure, and Halt conditions - add Call/Signal On ... Name trapname - add condition built-in function - increase number of arguments from 10 -> 20 - improve precision of exponentiation and integer division/remainder =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Level 4.00 - add binary strings (e.g., '1100 1001'B) - add b2x charin charout chars linein lineout lines stream x2b bifs - add Linein to Parse (meaning: Parse Value linein() With...) - add "subsidiary" namelist to Drop and Procedure Expose e.g., a='AA BB CC' Drop (a) is the same as Drop AA BB CC. - add NOTREADY to Call/Signal On/Off - add optional arguments newvalue and selector to value bif - add prefix to variable patterns +(u), -(v), =(w) and '=' (for consistency) to positional pattern, e.g. =13 to denote relative positional patterns (u,v,w must contain non-negative whole numbers). - add system exits - remove Scan option from Trace instruction - enhance value built-in function with SET option and external variable - all math built-in functions normalize before use