- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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 copiado
2 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Surely at compile time you know what the application type is anyway so you can set your own variable to differentiate?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora