in reply to Coding for two platforms in one Script
I suggest you read Conditional compile-time magic (RE: Checking to see if a particular Module is installed) and several other nodes in that thread. There are no "great" answers to this problem.
And, for the problem of not being able to type EVENTLOG_WARNING_TYPE, you simply need to instead type EVENTLOG_WARNING_TYPE() since the import will have to happen at run time.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Coding for two platforms in one Script
by BoredByPolitics (Scribe) on Dec 06, 2001 at 17:01 UTC |