help-octave
[Top][All Lists]
Advanced

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

"Input" displays text but does not assign value to variable


From: f98chgr
Subject: "Input" displays text but does not assign value to variable
Date: Wed, 8 Aug 2012 13:53:03 -0700 (PDT)

Hi!

I'm having trouble using the input function in order to assign a value to a
variable from the terminal. Octave doesn't seem to wait for the user to
enter a value and returns empty.

Example of how it looks when I'm trying to use it:

 >> NUMBER = input("Pick a number")
 Pick a numberNUMBER = []
 >> 

Appreciate your adivice.

Thanks - Chris



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Input-displays-text-but-does-not-assign-value-to-variable-tp4632307.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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