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

Home » Public Forums » archive » Another IDL Doc Question
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: Another IDL Doc Question [message #78937 is a reply to message #78861] Sat, 07 January 2012 14:07 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 1/5/12 4:31 PM, David Fanning wrote:
> David Fanning writes:
>
>> Here is another clue. At the top of the documentation that
>> *is* produced, there is a notation on this file that is
>> not present in other files. It says: "Contains a main-level
>> program."
>>
>> This is not true. The program does NOT contain a main-level
>> program. I suppose all might be right if I could figure out
>> why it thinks it does. :-(
>
> OK, problem solved!
>
> There is a module in this file that I didn't write. If has inside
> the module a WHILE loop written like this:
>
> WHILE t lt 5 DO BEGIN t = t * 10& ipow = ipow +1& ENDWHILE
>
> When I write the WHILE loop like this, all documentation
> works as expected!
>
> WHILE t lt 5 DO BEGIN
> t = t * 10& ipow = ipow +1
> ENDWHILE
>
> Who woulda known!?
>
> Cheers,
>
> David

IDLdoc does count matching begin-ends and the &'s must have thrown it
off. I will look into it.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Previous Topic: Another IDLDOC Note
Next Topic: Shading plotting symbols

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

Current Time: Fri Oct 10 16:27:53 PDT 2025

Total time taken to generate the page: 0.00373 seconds