#20 distinguishing GDL and IDL

closed
nobody
None
5
2007-02-10
2006-09-30
Alain C.
No

previously, it was possible to distinguish
between IDL and GDL using a test:
TAG_NAMES(/STRUCT,{a:0})
which was equal to '$truct' in GDL

but with the last CVS version, I cannot used
that anymore

What can we do ?

it is really useful to be able to distinguish
between both. Maybe you can add a field in !version ?

Alain

Discussion

  • Sven Geier

    Sven Geier - 2006-10-06

    Logged In: YES
    user_id=152543

    Why not

    help,/info

    ?

     
  • Alain C.

    Alain C. - 2006-10-16

    Logged In: YES
    user_id=1418043

    I add in the CVS version a !GDL sysvar which can be used to
    switch between IDL and GDL:
    defsysv, '!gdl', exists=exists
    if exists then print, 'We use GDL' else print, 'We use IDL'

    Alain

     
  • Joel Gales

    Joel Gales - 2007-02-10

    Logged In: YES
    user_id=958613
    Originator: NO

     
  • Joel Gales

    Joel Gales - 2007-02-10
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks