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

Home » Public Forums » archive » Implicit None for IDL???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Implicit None for IDL??? [message #4648] Mon, 26 June 1995 00:00
davis is currently offline  davis
Messages: 15
Registered: March 1995
Junior Member
Hi,

Is there anyway to get IDL 4.0 to signal and error if a variable is
undefined? I realize that IDL will generate a runtime error for this kind
of mistake:

some_variable = 3
; Now double its value
some_variable = 2 * some_vriable ; Oops spelling error!

However, this mistake will not be caught by idl:

some_variable = 3
; Now double its value
some_vriable = 2 * some_variable

If this is not possible, is there a lint for the language, e.g., something
to generate a message like:

something.pro: line 27: `some_vriable' unused.

Thanks,
--John
[Message index]
 
Read Message
Previous Topic: "Too many local variables"?
Next Topic: Using BREAKPOINT

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

Current Time: Fri Oct 10 02:25:21 PDT 2025

Total time taken to generate the page: 0.79967 seconds