Dnia Sun, 25 Jul 2010 17:15:45 +0200, mok-kong shen napisa?(a):
> Being beginner, I can't understand why
>
> array (u,integer,5);
> hh():=block(u[2]:333, print(u[2])); hh();
>
> works but on the other hand
>
> array (u,integer,5);
> hh():=block(u[2]:333, print(u[2])); compile(hh); hh();
>
> leads to an error message.
>
> Thanks for explanations in advance.
>
> M. K. Shen
Hi,
Maybe try single quote operator :
array (u,integer,5);
hh():=block(u[2]:333, print(u[2])); compile('hh); hh();
(I think that it comes from Lisp )
HTH
Adam