Pro/program , string instead of number
Pro/program , string instead of number
(OP)
I would like to input by txt a string instead of a number..
Pro\program
INPUT
TBNC30HS NUMBER
END
How can i do this?
THanks!
JP
Pro\program
INPUT
TBNC30HS NUMBER
END
How can i do this?
THanks!
JP





RE: Pro/program , string instead of number
RE: Pro/program , string instead of number
You can use booleans, strings and numbers for your input parameters:
For example:
INPUT
ADD_HOLE YES_NO
HOLE_DIAMETER NUMBER
NAME_OF_PART STRING
END INPUT
RELATIONS
IF ADD_HOLE == YES
/* DO SOME CALCULATIONS
ENDIF
IF NAME_OF_PART == "TBNC30HS"
/* DO SOME OTHER CALCULATIONS
ENDIF
END RELATIONS
RE: Pro/program , string instead of number
What I want is find a way to rename all my assembly, piece by piece with a trail file. Is it possible ? I tought I could copy/paste the parameter to rename the beginning of my file but it doesn't work.
Rename:
shipshaw_p1_r1_0 -> wanapum_p1_r1_0
shipshaw_p2_r1_0 -> wanapum_p2_r1_0
I have about 40 parts.
Thanks!
JP
RE: Pro/program , string instead of number
*shipshaw* in the first box and *wanapum* in the second
You can then delete the other files.