[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check for duplicate routine names?



Pavel A. Romashkin wrote:
> 
> If I had a vote, I'd be strongly against such checking.
> This means that any time I try to compile a routine which is already
> compiled, I'd be stopped by a warning message?! That would be a disaster
> for developing the code.

Warnings need not stop you. I figure IDL should be capable of printing a
two-line warning message without crashing or anything. And in most
cases, warnings are there for the programmer to ignore.
Apart from that, a warning would of course only be in order if the
compilation was done from a different source (be it .pro or .sav) then
the already compiled version.

cheers,
  Jaco

 ------------------------------
Jaco van Gorkom            gorkom@rijnh.nl
FOM-Instituut voor Plasmafysica Rijnhuizen