Subj : Re: Enter key and quit
To   : Night_Flyer
From : Digital Man
Date : Mon Mar 19 2007 04:45 pm

 Re: Re: Enter key and quit
 By: Night_Flyer to Digital Man on Mon Mar 19 2007 04:36 pm

>  > From baja.html:
>
>  > If a RETURN or GOTO function will be
>  > executed before the END_CMD function, then a CMD_POP function must be
>  > executed to tell the interpreter to "forget" the previous CMD_HOME
>  > function.
>
>  > So looks like you're missing some CMD_POP calls in there.
>
> all the examples I looked at didnt have that in there (that I noticed any wa

If you're not using CMD_HOME, then you don't need it.

> the "cmdkey \r" call worked so ill leave that in... Thanks.
>
> dont know how much more of this I want to play with considering its mosly
> doing what I want.
>
> Since this is for a one liner wall, is there a way to get the length of the
> _useron.alias?

Use STRLEN

> and with that info cut off the number of characters available in the get lin
>
> X = 50
> getline line1 X K_UPPER|K_ALPHA|NOCRLF

If you want to know the *maximum* length of _useron.alias, use the LEN_ALIAS
constant (defined in userdefs.inc).

                                      digital man (xbox-live: digitlman)

Snapple "Real Fact" #123:
Beavers were once the size of bears.
Norco, CA WX: 92.3�F, 30% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net