format parser

Help
Michael
2014-01-16
2014-01-17
  • Michael
    Michael
    2014-01-16

    Running GDL 0.9.3 on RHEL 6.5 now. I'm running into a problem with my code here:

    GDL> print, adstring(163.63614, 19.189845)
    % ADSTRING: Format parser: unexpected char: '+'
    

    I've never seen this in IDL. FYI ADSTRING is an astrolib routine, here:
    http://idlastro.gsfc.nasa.gov/ftp/pro/astro/adstring.pro

    Is the "format parser" something in GDL?

    Thanks,
    Michael

     
  • Hi,

    The problem is that GDL does not understand the following:

    GDL> print, string(90,'(I+3.2)')
    % Format parser: unexpected char: '+'

    It is meant to mean:

    IDL> print, string(90,'(I+3.2)')
    +90

    For now, I've filed a bug report regarding it:
    https://sourceforge.net/p/gnudatalanguage/bugs/583/

    Thanks for reporting it!
    Sylwester

     
  • Michael
    Michael
    2014-01-17

    Thanks for identifying this subtle bug, Sylwester!