49 1.18something
Neill McKay
Caspar
--
"Neill McKay" <nmc...@nb.sympatico.ca> wrote in message
news:3AC9300C...@nb.sympatico.ca...
o You can intercept processing of text, after editing
(and you do not have to let the calc parse and run it,
so you can substitute your own interpreter, if you like).
o You can capture the names of functions
which are executed from the keyboard.
When flags -62 and -63 are both set, the calc calls
'\GaENTER' with the edited text on the stack, and calls
'\GbENTER' with the name of each keyboard-executed function
on the stack, after the function has been executed
(\Ga and \Gb are the Greek alpha and beta characters).
You can supply either, neither, or both of these programs,
and if you supply '\GaENTER' then it's up to you to act on
the text, because the calc won't do anything by itself with it.
'\GaENTER' is called only when you leave the editor via the ENTER key;
'\GbENTER' is called for every function initiated from the keyboard,
including the ENTER key after editing (string arg is then "" - empty).
An example of what you can do with '\GaENTER':
http://groups.google.com/groups?q=z&seld=916747356&ic=1 [HP49]
http://groups.google.com/groups?q=z&seld=916106481&ic=1 [HP49]
[HP48 versions exist at hpcalc.org]
An example of what you can do with '\GbENTER':
http://groups.google.com/groups?q=z&seld=916800911&ic=1 [48/49]
A simpler example ("Trace" mode for printer) is in the HP48 "AUR"
-----------------------------------------------------------
With best wishes from: John H Meyers <jhme...@mum.edu>
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----