Subj : console.getkeys
To   : Mortifis
From : Digital Man
Date : Wed Jul 24 2019 02:30 pm

 Re: console.getkeys
 By: Mortifis to All on Wed Jul 24 2019 04:39 pm

> I have if(js.global.console) lookup = console.getkeys("HSOQ", lastuser);
>  where lastuser=system.lastuser... if entering a number it throws a
> !Javascript TypeError:
>
> What is the correct usage of console.getkeys?  I inferred:
>
>
> console methods
> getkeys:
> number       console.getkeys(string keys [,maxnum])  3.10    get one key from m of
> a list of valid command keys, or a number between 1 and maxnum

It seems to work for me. Perhaps it's what you're *doing* with the lookup value. Are you getting a line number with the error? What line of JavaScript corresponds with that line number?

                                           digital man

Synchronet/BBS Terminology Definition #12:
CBM = Commodore Business Machines
Norco, CA WX: 98.3�F, 30.0% humidity, 13 mph E wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net