> What's wrong with putting this in a suitable library, to extend the
> language:
> 
> setprop menuChoice what
>     lock messages
>     set the wholematches to true -- optional, if you want
>     -- to require the syntax to specify the full menuItem name
>     put lineOffset(what,the text of the target) into tNum
>     if tNum = 0 then
>        return "menuItem not found"
>     else
>        set the menuHistory of the target to tNum
>     end if
>     unlock messages
> end menuChoice
> 
> Then you can use your preferred syntax, no?

Excellent point, Peter... I will do just that (but of course it would be
great for it to be in the engine...)

Ken Ray
Sons of Thunder Software, Inc.
Email: [email protected]
Web Site: http://www.sonsothunder.com/


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to