comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: structure__define
items: Re: structure__define

structure__define
type: item
description: Obviously, my last question was a little too general... the jabs about programming in FORTRAN for too long are well deserved. Nevertheless, if I have a misconception here about IDL please point it out rather than just poking fun... I cannot seem to get my structure (defined in a local file structAtheader__define.pro) to be recognized without explicitly executing .compile/.run first. i.e. IDL> print, !PATH .:/home/dougal/aopp/rhskelto/idl:/usr/local/PACK/idl-5.3/lib /hook: IDL> .run runlog % Compiled module: GET_ATOCCULT. IDL> get_atoccult % Attempt to call undefined procedure/function: 'STRUCTATHEADER__DEFINE'. % Execution halted at: GET_ATOCCULT 11 /local/home/mulligan/aopp/rhskelto/src/runlog_idl/runlog.pro % $MAIN$ IDL> BUT, if I tell IDL that structatheader__define.pro exists things work? IDL> .run structAtheader__define % Compiled module: STRUCTATHEADER__DEFINE. IDL> .run runlog % Compiled module: GET_ATOCCULT. IDL> get_atoccult >>>> >>>>>>> WORKS FINE >>>>>>>>>>>>> On Fri, 17 Nov 2000, Doug Reynolds wrote: > Date: Fri, 17 Nov 2000 15:31:20 GMT > From: Doug Reynolds <dsreyn@ll.mit.edu> > Newsgroups: comp.lang.idl-pvwave > Subject: IDL Bug? (Re: include files in IDL programs) > > In article <3A153BC0.360BE8A7@acsys.it>, > Nando <f.iavarone@acsys.it> writes: >> Randall Skelton wrote: >> >>> Hello all, >>> >>> This is a longshot but is there any way to have an 'include file' in IDL. >>> i.e. I have a data structure which is rather complicated (and big in type) >>> and I don't want to see it in every program/subroutine that I write. Is >>> there anyway just to have it included with a simple '#include blah.pro' or >>> somthing similar? >>> >>> Thanks in advance, >>> >>> Randall >> >> If you have a file containing code (as batch), you can use the '@filename' >> to include that codes in your program. >> If the case of strucured data type, it coul be better to use the __define >> procedure. >> >> For example suppose you have the structure: >> >> struct = {structTest, $…
creator: Randall Skelton
date: 2000-11-17T08:00:00-00:00

Re: structure__define
type: item
description: "Randall Skelton" <rhskelto@atm.ox.ac.uk> wrote in message news:Pine.LNX.4.21.0011171650140.14194-100000@mulligan.atm.o x.ac.uk... > > My OS is Linux and I never would have guessed there would be a problem > with case sensitivity... > In my own humble experiences, I've always found case sensistivity to cause more problems than it solves, even when used properly. But then I grew up on a case insenstive file system, and still fail to see the benefits of having two files with identical names, barring case, i.e. why not just "hello_world.c" instead of "HelloWorld.c", the first is more readable, and only one character longer. Hugh
creator: Hugh Evans
date: 2000-12-04T08:00:00-00:00