screen command

Kenneth Brody kenbrody at spamcop.net
Sat Nov 20 08:47:09 PST 2010


On 11/20/2010 11:25 AM, Dennis DIller wrote:
> I'm using @wuk*
> and would like the user to be put back into the screen and field they left
> the dummie field oo hold the screen #, and field
> if I use the screen command
> screen oo     =    filepro error no filename screen OO
> Is there a way to use the screen command with a dummie field
> Hope someone can help
> Thanks
>
>
>
> If @wuk* IF: @key eq DELL"
>             Then: oo=@sn{"',"{@fd; gosub
>
>                IF: oo ne ""
>           Then: screen oo

Well, unless you want to switch to screen o, that's not the command you 
want.  The command that you _think_ you want is:

     screen (oo)

However, that's not what you want either, since field oo doesn't contain the 
screen name.  (Rather it contains the screen name, a comma, and a field number.)

So, what you _really_ _think_ you want is:

     screen (@sn),(@fd)

And, while this will work, it could be shortened to:

     screen

However, what you _really_ _do_ want is simply:

     end

Remember, the @WUK event doesn't leave the field unless your processing 
explicitly does something, such as a SCREEN command, do force the cursor 
elsewhere.

P.S.  Didn't you already as this question (in a different form), and didn't 
I already answer it, on Thursday?  (Subject: Input processing)

-- 
Kenneth Brody


More information about the Filepro-list mailing list