From: Mikael N. <mik...@pp...> - 2013-11-24 19:47:35
|
Just as a reference, this is how it works in FF. The DPs and LATEST is kept in ram during interpretation of a line and during compilation state. It also gives a nice undo effect if the compilation fails. ABORT will restart QUIT and copy the old values from eeprom again. No half compiled words are left in the dictionary. : quit rpempty [ begin dp>ram \ copy DPs and LATEST to ram begin sp? tib tibsize accept space interpret state @ 0= until dp>eeprom \ copy updated DPs and LATEST to eeprom ." ok" again ; BR Mikael |