using a port in sub-procedure

V

vlsidesign

Guest
I open a port for writing using the outfile function at my main
procedure. I want to use this port and write to it in some of my sub-
procedures. I pass the port into the sub-procedure and then return it
back and it seems to work. And then finally at the end of my main
procedure, I then close the port.

I was wondering if this was an okay way of doing it??

By the way, if I want to return multiple things, do I just create a
list and then return the list?? Any help is appreciated. Thanks.
 

Welcome to EDABoard.com

Sponsor

Back
Top