Re: [q-lang-users] Q Question
Brought to you by:
agraef
From: <Dr....@t-...> - 2004-10-20 17:24:34
|
> ==> fac N = N*fac (N - 1) if N>0; > ! Syntax error > >>> fac N = N*fac (N - 1) if N>0; You can't enter the script directly in the interpreter (which is just an expression evaluator). Enter it in the upper pane of Qpad, save the script, then run it. At the prompt, you can now enter something like fac 100. HTH Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |