Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

data pass through subroutines

Status
Not open for further replies.

zahedi66

Mechanical
Apr 13, 2015
30
Hi there,
I've wrote a couple of subroutines (Udisp and USDFLD), there is a question....
there is a variable in UDISP that is depended on a condition in USDFLD,
How I can connect these two subs to each other!?
any help is apprectiated
 
Replies continue below

Recommended for you

Can you use a state variable? You will have to be careful about what gets updated and when.
COMMON blocks do NOT always get the job done.

See the documentation for more on these.

*********************************************************
Are you new to this forum? If so, please read these FAQs:

 
thank you,
Still I have no clue how to do it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor