TIP: Click on subject to list as thread! ANSI
echo: clipper
to: BRYAN SMITH
from: KLAUS KUEHNBERGER
date: 1996-11-13 00:00:00
subject: Re: Is it Windows ?

Bryan Smith@1:249/109.11 sagte ueber _"Is it Windows ?"_
BS>Does anybody know a way in which a Clipper program which is running under
BS>Windows could determine that it is running in a Windows DOS box, and not 
n
BS>raw DOS ?
Yes. Simply use the getenv()-function to check wether your app is running  
under wind*ws. ex,; if empty(getenv('windir'))
                        ? "I'm not running under wind*ws !"
                        ? "All will work (hopefully)."
                    else
                        ? "I'm running under wind*ws !"
                        ? "Program will make mistakes !"
                    endif
BS>
BS>Also, are there any known problems arising from running Clipper under
BS>Windows in this way ?  (Compiled with 5.2e, linked with Blinker 3.20).
Sorry, I only know, that it causes problems, but the exact reason, I'm  
sorry.
BS>
BS>--- PPoint 2.00
Hope it helps
read you
      Klaus
[code long and prosper]
---
--- CrossPoint v3.0
---------------
BS> * Origin: Kingston Canada (1:249/109.11)
* Origin: Take it easy, but take it (2:2448/300.2)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.