comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » path_sep() or where() crashing my idlde
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
path_sep() or where() crashing my idlde [message #36843] Sat, 01 November 2003 02:15
profxtjb is currently offline  profxtjb
Messages: 22
Registered: October 2003
Junior Member
For some reason, path_sep() is crashing my idlde. I am running IDL
6.0 for evaluation, with
!version.os_family = 'unix' on a Mac G4.

The path_sep() started crashing idlde when I misplaced an 'xloadct' in
a widget control. Now xloadct leads to both idlde and idl crashes and
exit to the shell, viz.

IDL> xloadct
% Compiled module: XLOADCT
% Compiled module: XREGISTERED
% Compiled module: LOADCT
% Compiled module: FILEPATH
% Compiled module: PATH_SEP
Illegal instruction
[my_home:~] %

Filepath calls path_sep() without argument, so the I set some
breakpoints in path_sep() -- and it chokes on the where() function,
viz.

function path_sep, SEARCH_PATH=searchsep, PARENT_DIRECTORY=pdir

idx = (where([ 'MacOS', 'Windows', 'unix' ] eq
!version.os_family))[0]

I would love to know why the where() function is causing this trouble
and how to fix it.

Thanks for the help!

==thomas==
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Number of points within a rectangular region
Next Topic: types (conflict)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 23:46:05 PDT 2025

Total time taken to generate the page: 2.65354 seconds