On Sep 26, 2006, at 1:19 PM, Phil M wrote:

On Sep 26, 2006, at 11:59 AM, Norman Palardy wrote:

Making two projects gives you both from one set of code as long as you put conditionals around some thing (ie #If TargetHasGUI or whatever it's called)

You can also set whole Methods and even Classes to be Console and/ or GUI. Right-click on a method or class to get the Contextual menu and select the option you want.

Right.
I forgot about this which is funny because this is very close to one feature request I submitted :)

The only disadvantage is that you cannot have two classes with the same name but with different targets (one GUI and one Console), but most classes can be designed with individual methods blocked for one or the other target.

The "two classes one for each target" was what I had thought of but the second where a single class has items for each (GUI or Console) works as well


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to