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

Home » Public Forums » archive » Using subroutines
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Using subroutines [message #84960] Wed, 19 June 2013 14:45 Go to previous message
le.davide is currently offline  le.davide
Messages: 18
Registered: November 2010
Junior Member
Hi all,
I am sure I am going through something very well known.
I have a large code. And I wish to break it in smaller sections.
So my hope was to do something like

pro main_routine

routine_reading_files
routine_making_initializations
routing_making_operations
routine_writing_outputs

end

(I bet you are laughing) so it looks like "routine_making_initializations" doesn't know anything about what the previous routine read.
Don't tell me that I have to make functions instead of routines.
As I said, I want to break my too-long code into subsections for obvious reasons. Is there any way I can accomplish this? I don't think making a function for each step would make my tasks easier.

Thanks.
David
[Message index]
 
Read Message
Read Message
Previous Topic: Interpolation
Next Topic: Cleaning up an inherited object...

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

Current Time: Wed Oct 08 15:33:26 PDT 2025

Total time taken to generate the page: 0.00463 seconds