help-octave
[Top][All Lists]
Advanced

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

input with line break


From: Santiago Higuera
Subject: input with line break
Date: Thu, 3 Oct 2019 23:12:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Hi all:

I'm using Ocatve 5.1, and I've observed that if I use:

x=input("x= \n")

The special character '\n' is recognized, but if I use single quoted string, it is not recognized.

Is it a bug? In MATLAB single quoted string recognize the special character for line break in input() function.

Thanks in advance

Santiago Higuera





reply via email to

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