From:
INTRODUCTION TO POLY
D.C.J. Matthews,May 1982
Computer Laboratory, University of Cambridge
[quote]
> begin
# print("Hello");
# print(" again")
# end;
Hello again
[/quote]
but I get:
[quote]
> begin
# print("hello");
poly: : error: Value or constructor (begin) has not been declared
Found near begin print ("hello")
Static Errors
>
[/quote]
if I remove the semi-colon, it lets me enter the rest of the code, but chokes
after I enter `end;'.
Has the syntax changed since the book was written, or am I doing something
wrong? TIA ...
--
Duke