[Thread Prev][Thread Next][Index]

Re: read a keyboard entry ?



Hi Emilie,
No, there is not such a capability in Ferret.  I wonder if there might
be a way to do this using SPAWN from ferret and writing the input
to a  file which Ferret could then read. Not a pretty solution, but if
anyone has ideas about making it work, send 'em in.

Ansley

Emilie Vanvyve wrote:
Hello !

Just a short question : is there any way to read an user's "keyboard" entry from inside Ferret ?
The equivalent in the Korn shell would be the variable $A here below :

work@El Nino ~> echo "give a number :" ; read A ; echo "the number is $A"
give a number :
7
the number is 7
work@El Nino ~>

Thanks for any piece of advise !

Emilie V.


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement