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


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

Re: testing operating system

From Anton Puhlwetter <anton.puhlwetter@web.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: testing operating system
Date 2014-05-31 12:15 +0200
Organization albasani.net
Message-ID <lmca3m$nib$1@news.albasani.net> (permalink)
References <lm7mnj$bj0$1@news.albasani.net> <lm8aid$392$1@dont-email.me>

Show all headers | 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