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

Home » Public Forums » archive » Save file creation rules of the road
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: SAVE [message #71015 is a reply to message #70873] Fri, 14 May 2010 13:22 Go to previous messageGo to previous message
fgg is currently offline  fgg
Messages: 67
Registered: April 2010
Member
Thanks a lot for the constructive comments! I was using SCOPE_VARFETCH
simply to export the variables to the main level... but I'm now
convinced that this is not a good practice. One of the suggestions I
got was to include parameters in my procedure, define the variables
within the procedure, and then call it specifying the parameters
similarly on the command line. Something like this:

pro xxx, a=a, b=b, c=c


This would add the variables of interest (a, b, and c) in main just
like SCOPE_VARFETCH does. I guess that's the usual way of doing this
and I would probably not end in jail =)... so, here we go.

Thanks again,
Fabio
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: coping with a slow license server
Next Topic: Re: Breaking files

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

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

Total time taken to generate the page: 0.00463 seconds