Options Sets and Porting

Options sets save all current options except General Options. Options sets can be very useful when trying to use the same scripts on different operating systems. The primary differences between the two may be compiler constants.

For example, you might use the compiler constant sCmdLine. Usually, the command line to invoke an application differs between the PC operating systems. You could create a compiler constant (note that there is a string limit on compiler constants) for use in the sCmdLine constant to differentiate between the platforms' command lines. You might also use a compiler constant for methods that work slightly differently on the two operating systems, such as the Pick() methods.