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

Home » Public Forums » archive » Re: _Ref_Extra : BUG? (in Win2K 55b) corrected test file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: _Ref_Extra : BUG? (in Win2K 55b) corrected test file [message #27725 is a reply to message #27716] Thu, 01 November 2001 16:18 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
From: "Martin Downing" <martin.downing@ntlworld.com>
> http://homepage.ntlworld.com/martin.downing/idl/test_ref_ext ra_bug2.pro

So the routine that's crashing your machine (and mine) is as follows
(shortened)...

pro test_ref_extra1,_REF_EXTRA=e
test_ref_extra2, _REF_EXTRA=e ; Here be dragons!
end

This isn't merely bad practice, it's wrong. The _REF_EXTRA keyword is only
used in routine definitions. When *calling* a routine, the acceptable forms
are "_EXTRA" and (as of 5.5) "_STRICT_EXTRA".

Still, it shouldn't crash IDL. It should be detected as a syntax error.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research



--
Posted from clam.niwa.cri.nz [202.36.29.1]
via Mailgate.ORG Server - http://www.Mailgate.ORG
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: LINK : warning LNK4068: /MACHINE not specified; defaulting to IX86
Next Topic: Re: texture_coord

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

Current Time: Wed Oct 08 19:05:27 PDT 2025

Total time taken to generate the page: 0.20605 seconds