- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have two almost identical routines that differ by only one statement, depending on whether the program in which they run is Windows or Qwin. Is it possible to detect which it is when executing? Then I could combine the two routines with an IF statement and avoid confusion.
BearofLittleBrain
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Surely at compile time you know what the application type is anyway so you can set your own variable to differentiate?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Andrew,
You are, of course, completely right. I realised that is how to do it about a minute after pressing the "Post" button.
Regards
BearofLittleBrain
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page