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

Home » Public Forums » archive » Compilation Error: Procedure header must appear first and only once
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: Compilation Error: Procedure header must appear first and only once [message #94574 is a reply to message #76737] Thu, 13 July 2017 14:55 Go to previous messageGo to previous message
guillermo.castilla is currently offline  guillermo.castilla
Messages: 1
Registered: July 2017
Junior Member
I had the exact same problem as Maegereg and I can confirm the cause of these compilation errors ("Procedure header must appear first and only once", and "Return statement in procedures can't have values") when there is no missing END must be hidden character(s) in the text file containing the source code (which in my case came from Github).

The easiest way of solving this is to open the .pro in Notepad++, change the encoding to ANSI (there is an item in Notepad++ main menu called 'Encoding'), save and close. Then you open it in the IDLDE, click 'compile', and voila, no errors!

Cheers/Guillermo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Remote plotting
Next Topic: New behavior of n_elements?

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

Current Time: Wed Oct 08 11:00:21 PDT 2025

Total time taken to generate the page: 0.00399 seconds