Menu

#213 4.6p4 macros don't work

None
open
nobody
macros (1)
None
2017-02-01
2017-01-24
Anonymous
No

Macros don't work.
the demo script is taken from here:
http://www.gnuplotting.org/code/configuration1.gnu
http://www.gnuplotting.org/configuration/

I get:

@WXT
^
"test.gnu", line 8: invalid character @

I run:
Version 4.6 patchlevel 4 last modified 2013-10-02
Build System: Linux x86_64
on Ubuntu 14.04

Thanks, Bastian

1 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2017-01-24

    Your test script does not define any macros, so of course you get an error when you try to use them.

    Note that the example script you quote was intended to be run only after the relevant macros were read in from a personal cusomization file (that is also shown on that web site).

    Try this:

    set macros              # not on by default in version 4
    A = "version long"
    show @A
    
     

    Last edit: Ethan Merritt 2017-01-24
  • Ethan Merritt

    Ethan Merritt - 2017-02-01

    Ticket moved from /p/gnuplot/bugs/1899/

    Can't be converted:

    • _milestone:
    • _priority:
     

Log in to post a comment.