At 11:48 PM 1/31/2002 -0500, you wrote:
>I was wondering if there was a way to change or "enhance" standard S*Basic 
>commands.
>
>I'm pretty sure that this is impossible from Basic but what about machine 
>code... for example instead of writing an x_Print x,w,z,d,s command, 
>redefine the standard Print command to be extended (I suppose that there 
>MUST be a way to do this, as TK2 for example does it)

I think what you are getting at is that TK2 takes the original definition 
of, say EXEC, to include the option of having arguments, i.e. EXEC foo;"bar".

I believe how this is done is that TK2 includes a resident procedure called 
EXEC and this newer EXEC takes precedence over the older definition in the 
name table.

I hope I interpreted your question and I hope I'm right in my answer.

Tim Swenson

Reply via email to