help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

probl with INPUT


From: Robert Setif
Subject: probl with INPUT
Date: Sat, 3 Oct 2015 13:53:25 +0200

Hello !
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]