I work with Octave 4.0.0 (octave 4.0.0... installer.exe) in Windows 7.
When I write in command-window:
input ("n ? : ")
I obtain :
error: invalid use of script C:\Octave\Octave-4.0.0\rsprog\input.m in index _expression_ "
When I write in Editor:
# input_1.m 3/10/2015
input ("n? (0 for exit) : ")
n=ans
if (n==0)
return
endif
disp(n*11)
I obtain:
>> input_1
error: invalid use of script C:\Octave\Octave-4.0.0\rsprog\input.m in index _expression_
error: called from
input_1 at line 2 column 1
>>
Is it a bug of this version 4.0.0 ?
Otherwise, how using "input".
It would be nice if numerous little programs go with Octave !
Regards