Previous | Next | DMIS Question and Answer
Topic: How to assign the values of 2 variables to variable #3?
Conf: DMIS Question and Answer, Msg: 4193
From: Viktor Sokurov (viktor.sokurov@fmindustries.com)
Date: 6/13/2002 02:10 PM

Hi, everyone!
I need some high level programming help.

I want to create labels for my features.
I am taking lots of points on the surface using loop command and I would like to assign the name for each of them so I can play with data later.

DECL/LOCAL,CHAR,512,cName
DECL/LOCAL,INTGR,intNum
DECL/LOCAL,INTGR,intCount
DECL/LOCAL,INTGR,intNumPoints
DECL/LOCAL,REAL,rBoltCircle
DECL/LOCAL,REAL,rStartAngle
DECL/LOCAL,REAL,rIncrAngle
intNumPoints=PROMPT/'How many points do you want to take on bolt circle? '
rStartAngle=PROMPT/'Where do you want to take first point (starting angle)? '
rBoltCircle=PROMPT/'Enter bolt circle diameter? '
rIncrAngle=ASSIGN/360/intNumPoints
intNum=ASSIGN/1
DECL/LOCAL,CHAR,512,cNum
cNum=ASSIGN/intNum
DECL/LOCAL,CHAR,512,cTemp
cTemp=ASSIGN/'PT'

here is the line where I stuck:
cName=ASSIGN/cTemp,cNum

What would be the right way to put to values in one?

Thanks

:-)

Viktor



PS:(for some1 special: I spent some money and I bought the DMIS 4.0, but I could not find the answer there)