[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Whats the operating system



Ray B,

> Is there a way an sqr can know what type of operating system it's
> running in?

If you're running SQR v 3.0 or later, then you can use the
pre-defined variable $sqr-platform, or the pre-defined
substitution variable {sqr-platform}.  They have
values like UNIX, VMS, DOS, etc.

If you're using an earlier version, you may want to create
an #include file which defines SQR-PLATFORM (and is different
on each platform).

Hope this helps.

Ray O
----------------------------------------------------------------------
Ray Ontko       |  Ray Ontko & Co  |  "Time for a new signature line."
rayo@ontko.com  |  Richmond, In    |  See us at http://www.ontko.com/