Nifty, I doubt I'd ever dream that up.
thanks for the fun moment.
And - if used in real code - does deserve some additional comments...
Abe Kornelis
==========
John Ehrman schreef op 26-3-2015 om 23:07:
Steve Smith asked for the answer to my quiz question of March 23:
While we're having fun: under what circumstances is the character
sequence
(4)(3)(2)(1)
legal as part of a machine instruction operand, not part of a quoted
string, not part of a macro operand, and not part of a SETC statement?
And no, it's not an "April-Fool" question.
Here's the answer:
USING *,12
&V(4) SETC 'L'
LA 0,=A&V(4)(3)(2)(1)
END
Try assembling it! (And no, it wasn't my idea originally.)
Regards... John