X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 May 2006 01:06 PM by  anon
This is strange - why would "Save As" stop behaving?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
15 May 2006 01:06 PM
    Using IDL6.2 on a WindowsXP machine. I'm editing an existing PRO and want to give it a new name - I just choose "Save As" right? However, rather than getting the expected dialog box so I can specify a new name, it just saves the edited file with the same name - as if it is behaving as "Save." Of course, I've done nothing different (of which I'm aware). Is this an IDL or Windows issue? Maybe a reboot is in order...

    Deleted User



    New Member


    Posts:
    New Member


    --
    15 May 2006 03:38 PM
    It's a bug in IDL 6.2 For Windows, Barry, not present before that version and already fixed in just released IDL 6.3. The exact buggy behavior is: If a file in the IDLDE editor does not have a "PRO" or "FUNCTION" block, then IDLDE 6.2's algorithm for suggesting a file name to the Windows file chooser faills and the Windows file chooser silently exits before it ever displays. My favorite fix for this is to create a dummy PRO line at the top of the file, e.g.: PRO temp then do File->Save As..., then delete that dummy line, then do File->Save. Of course, an even better fix is to upgrade to IDL 6.3. James Jones
    You are not authorized to post a reply.