2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -1,22 +1,20 @@
|
|||
/*REXX program illustrates ability to execute code entered at "runtime".*/
|
||||
numeric digits 10000000 /*ten million digits should do it*/
|
||||
/*REXX program illustrates the ability to execute code entered at runtime (from C.L.)*/
|
||||
numeric digits 10000000 /*ten million digits should do it. */
|
||||
bee=51
|
||||
stuff= 'bee=min(-2,44); say 13*2 "[from inside the box.]"; abc=abs(bee)'
|
||||
interpret stuff
|
||||
say 'bee=' bee
|
||||
say 'abc=' abc
|
||||
say 'bee=' bee
|
||||
say 'abc=' abc
|
||||
say
|
||||
/* [↓] now, we hear from da user*/
|
||||
/* [↓] now, we hear from the user. */
|
||||
say 'enter an expression:'
|
||||
pull expression
|
||||
say
|
||||
say 'expression entered is:' expression
|
||||
say 'expression entered is:' expression
|
||||
say
|
||||
|
||||
interpret '?='expression
|
||||
|
||||
say
|
||||
say 'length of result='length(?)
|
||||
say ' left 50 bytes of result='left(?,50)'···'
|
||||
say 'right 50 bytes of result=···'right(?,50)
|
||||
|
||||
/*stick a fork in it, we're done.*/
|
||||
say ' left 50 bytes of result='left(?,50)"···"
|
||||
say 'right 50 bytes of result=···'right(?, 50) /*stick a fork in it, we're all done. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue