- Subject: [jed-users] Re: [slang-users] Getting Keyboard Input
- From: Duke Normandin <dukeofpurl@xxxxxxx>
- Date: Wed, 22 Dec 2021 16:10:16 -0700
On Wed, 22 Dec 2021 15:41:56 -0700
Duke Normandin <dukeofpurl@xxxxxxx> wrote:
> I've got the following in my code:
>
> variable c = 0;
> c = SLang_getkey ();
>
> But I'm euchered with this:
>
> rline_getkey is undefined
> ./tempConv.sl:28:<top-level>:Undefined Name
>
> Do I have to import/require something?
> I thought this function was a built-in?
Found this to clear the result stack?
() = fgets (&ch, stdin);
so I could do?
c = fgets (&ch, stdin);
Couldn't find it in the docs though. Had to wade through the
examples in the hope of finding something. I lucked in!! :-D
--
Duke
** Text only please. Bottom post is best. **
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.
[2021 date index]
[2021 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]