Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2477

Re: testing operating system

Path csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From Anton Puhlwetter <anton.puhlwetter@web.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: testing operating system
Date Sat, 31 May 2014 12:15:16 +0200
Organization albasani.net
Lines 12
Message-ID <lmca3m$nib$1@news.albasani.net> (permalink)
References <lm7mnj$bj0$1@news.albasani.net> <lm8aid$392$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net fAAIeT8100YtD75CAXdOsUrlnlXmuK+mRBB5oOComlFDxXh714sAwP29HSCG7Ii9edkj/jMGaJnFLAYNaYmGjF8x42C6wIEYyqPgitGM30BJb/ouAb8/XLkVgWTTRjky
NNTP-Posting-Date Sat, 31 May 2014 10:15:18 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="jahxNV9725cJworgt/Ja3mo9CrvIJmkfibe29kKUERXHimofDnmOznK2HHda6eh7/rJVMElrG1VHyfr3z3Co+x2RYZz5XGGmYpJ2CEK59Gnw+wndvU/ukHUWFq2syYR/"; mail-complaints-to="abuse@albasani.net"
In-Reply-To <lm8aid$392$1@dont-email.me>
Cancel-Lock sha1:vGWHmr9wm4YmH4TgIfUgi6+gPq8=
Xref csiph.com comp.graphics.apps.gnuplot:2477

Show key headers only | View raw


Hi Ethan,

>   if (strstrt(GPVAL_TERMINALS, "win")) {
> 	print "This is windows"
>   } else {
> 	print "This is not windows"
>   }

Thank you for this suggestion, it works fine!

Cheers,
Anton

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

testing operating system Anton Puhlwetter <anton.puhlwetter@web.de> - 2014-05-29 18:20 +0200
  Re: testing operating system Ethan A Merritt <sfeam@users.sourceforge.net> - 2014-05-29 14:58 -0700
    Re: testing operating system Anton Puhlwetter <anton.puhlwetter@web.de> - 2014-05-31 12:15 +0200

csiph-web