Dear All,
I use macro to control whether output to a file or on screen by defining a
variable debug. I would like to output a string on screen to remind me where
the output is by writing code like
debug = ''
print (debug=='#' ? 'output in file' : 'output on screen')
However, gnuplot complains that
Non-numeric string found where a numeric expression was expected
How can I possibly circumvent this error and get what I want, thanks!
Sincerely,
Jon
|