help-octave
[Top][All Lists]
Advanced

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

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


From: Jordi Gutiérrez Hermoso
Subject: Re: "Input" displays text but does not assign value to variable
Date: Wed, 8 Aug 2012 17:02:25 -0400

On 8 August 2012 16:53, f98chgr <address@hidden> wrote:
> 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 = []
>  >>

This looks like you're using QtOctave or something like it. Are you?

- Jordi G. H.


reply via email to

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