First of all because of change in syntax,  you have to change the line
setup x
to
setup m

and then it works like this
   '*: 4' EVM
16
   hist ''

 Queue         Stack               Rule

 +---------+   +------+----+---+   +-----+
 |mark *: 4|   |      |    |   |   |     |
 +---------+   +------+----+---+   +-----+
 |mark *:  |   | 4    |    |   |   |     |
 +---------+   +------+----+---+   +-----+
 |mark     |   | *:   | 4  |   |   |     |
 +---------+   +------+----+---+   +-----+
 |         |   | mark | *: | 4 |   |monad|
 +---------+   +------+----+---+   +-----+
 |         |   | mark | 16 |   |   |     |
 +---------+   +------+----+---+   +-----+


On Sat, Dec 3, 2022 at 8:14 PM Richard Donovan <rsdono...@hotmail.com>
wrote:

> I was reading on the J website of the useful sounding adverb EVM so I went
> to the link at Help / Learning / Ap 1: Evaluating Expressions - J Wiki (
> jsoftware.com)<
> https://code.jsoftware.com/wiki/Help/Learning/Ap_1:_Evaluating_Expressions>
> and downloaded it.
>
> So far I cannot get it to work at all using the examples given, I get
> syntax error in every case! EG
>
> From the wiki page...
> *: 4
> '*: 4' EVM
> 16
> 16
>
> Me:
>
> *: 4'*: 4' EVM
> |syntax error
> | *: 4'*: 4'EVM
>
> Have I catastrophically misunderstood this, or missed something obvious??
>
> Thanks
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to