Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

IUA Programming - how to pass an entity as an argument 1

Status
Not open for further replies.

jimhunt

Specifier/Regulator
Oct 31, 2002
6
GB
Just starting programming in IUA and finding my way round pretty well but stuck on one basic concept -

If for example I use the Search function in my program I get
the result in a geometric variable. Then I want to pass it as an argument to a subprogram but the subprogram wants an integer address.

Is there a standard way to translate to and fro between them?

An example code fragment would be great.
 
Replies continue below

Recommended for you

Hello,

you have to pass your geometrical argument as an integer.

IUA:
PTD JPTD1

LOAD XXX JTPD1

FORTRAN:
SUBROUTINE XXX (JPTD1)

INTEGER*4 JPTD1

Regards
Stefan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top