(Comp.sys.hp48) Item: 1254 Resp: 2 of 2 by detlef@mwhh.hanse.de Author: [Detlef Mueller] Date: Sat Jun 13 1992 The workaround for putting selfmodifing programs into a library is to put the following shell around them: \<< { qed } OBJ\-> DROP @ here 'qed' is the command that modifies itself #7E99h SYSEVAL DROP @ ROMPTR@ - recall pointer to library command NEWOB EVAL @ copy ob into TEMPOB, execute it from there \>> [Of course, replace "qed" above with whatever library command you wish. It'll work with any self-modifying program as long as there's enough free memory for NEWOB to make a second copy of it. If this workaround fails at NEWOB with an "Insufficient Memory" error, then you're out of luck. -jkh-]