[comp.lang.modula2] JPI SYSTEM.Eval

GRANGERG@VTVM1.BITNET (Greg Granger) (06/01/90)

Has anyone else noticed the function (oops -- I mean whoops procedure)
SYSTEM.Eval littered thru the JPI Modula 2 (version 2.0) examples?

I just bothered to unwind the thing tonight, I expected this to be some
complex evaluation procedure, but no, it's a inline binary thingy
and it's defined in the DEF file.  What it does is insert a NOP (8086
code 090H) in the code.  This is used instead of
dummyVar:= procXxx();  which I supposes save memory (one less var) and
is probably faster.

Does anyone know if there is a better reason for this set-up (it would
be nasty to port, well maybe not nasty, but certainly strange)?

Greg