> When you first start up Pop11 and compile a program, the compiler produces a
> list of the global variables it is declaring for you.
>
> Now if you recompile the program, as the variables have already been declared,
> you don't get the warning messages again.
>
> Is there a way to remove the existing global variable declarations without
> quitting Pop11?.
>
> I will be able then to track exactly what is getting declared during each
> compile cycle without having to restart Pop11.
You can use -cancel- and -syscancel- to cancel a permanent identifier
(see REF * IDENT), for example:
1->> foo -> baz;
;;; DECLARING VARIABLE foo
;;; FILE : /tmp/snd.10836 LINE NUMBER: 17
;;; DECLARING VARIABLE baz
;;; FILE : /tmp/snd.10836 LINE NUMBER: 17
cancel foo;
1->> foo -> baz;
;;; DECLARING VARIABLE foo
;;; FILE : /tmp/snd.10836 LINE NUMBER: 25
IMHO however it is a much better idea to declare your variables properly
in the first place! :-)
aids (email: adrianh@cogs.susx.ac.uk)
ObDisclamer: Poplog used to pay my wages
ObPop11: 39,'39,%c%p%c,39,2.subscr_stack.printf',39,2.subscr_stack.printf
|