PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 23 Jun 2022 03:50 AM by  Achim Holtmann
Fatal error with restored structure from sav file
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:4
New Member


--
21 Jun 2022 09:24 AM
    Hi,

    I use list(struct) eq list(struct) to compare structures. This works fine mostly but the code below produces a fatal error (IDL Workbench closes). Note that this only happens when the structure is set up in a certain way, e.g., with only the first two tags, it does work.

    s = {l: 1l, s: "", s2: ""}
    list(s) eq list(s) ; This returns 1 as expected
    save, s, FILENAME="s.sav"
    restore, "s.sav"
    list(s) eq list(s) ; this produces a fatal error

    I use IDL 8.8.1 on Linux Mint 20.3

    Thanks for the support!
    Achim


    New Member


    Posts:4
    New Member


    --
    23 Jun 2022 03:50 AM
    For now, I've switched back to 8.6 - no issues there.
    You are not authorized to post a reply.