> in my mind, doing:
>
> [a], {% hd() %} =>
> or
> [a], [% hd() %] =>
>
> is an error and should generate a mishap.
Hear hear etc.. Lets have proper stack barriers that can't be crossed
and let {% %} and [% %] use them. For that matter we could have special
stack barrier brackets ( (% %) ??) which just isolate a section of code
with a barrier, and then maybe make it the default for user procedures
so that
define foo(a,b,c) -> (x,y);
<body>
enddefine;
means
define foo();
-> (a,b,c);
(% <body> %)
(x,y);
enddefine;
so addressing one of the biggest complaints about pop11 for novice
programmers...
Roger
|