[Oberon] On Commands in Oberon.
Bob Walkden
bob at web-options.com
Sun Dec 23 19:39:07 CET 2012
> From: Srinivas Nayak [mailto:sinu.nayak2001 at gmail.com]
[...]
> What is the meaning of this, can you please help me understanding this?
> How shall we be able to activate commands of the form,
you always execute commands with the middle mouse button
>
> Module.Procedure *
> Module.Procedure ^ ~
> Module.Procedure @
> etc.
they are explained in Reiser's book The Oberon System User Guide and
Programmer's Manual.
Command parameters have different sources:
~ terminates a list of parameters following the command name
^ after the command name or after a list of parameters: get exactly one more
parameter from the selected text
@ get the first parameter from the select. Doesn't seem to work on my system
* the 'marked viewer'
You mark a viewer by pressing F1 while it has input focus. You can move the
input focus elsewhere and the viewer remains marked (the system displays a *
in it). If you execute a command of the form M.P *, then the procedure M.P
treats the marked viewer as its focus text. For example, you can mark a
viewer, then execute Compiler.Compile * in a different viewer, such as a
menu, and it compiles the source in the marked viewer.
More information about the Oberon
mailing list