Platform-specific handlers (fork of: menus in MacOS

Troy Rollins troy at
Mon Aug 19 22:06:01 EDT 2002

On Monday, August 19, 2002, at 10:46  PM, Jim Witte wrote:

>   Would there be any advantage (other than perhaps bit of elegance) to 
> having platform-specific handler names built into Rev (or would they 
> have to be built into MetaCard?)  Something like "openstackMacOS. 
> openStackUnix, openStackWin32"?

There is nothing to prevent you from writing these yourself. We do it 
all the time in every app we write. Having dedicated of the names 
versions for every rather defeats the purpose of "write once run 
anywhere". We always have handlers for those platform specific functions 
which handle setup of various app specific requirements.

RPSystems, LTD

More information about the use-livecode mailing list