Global Parameter Access Symbols Overview | Symbol List
These Global Parameter Access Symbols (GPAs) are used to access expressions. The GPAs provide an alternative method to using the Retrieve and Store statements (REGF and STORE).
Each GPA symbol starts with an & and the letters REG, followed by a letter from A through L inclusive. The letters A through L are expression names. The actual expression names created in NX will be in lower case.
Operation |
Symbol |
Access Type |
Data Type |
Range |
Access expression A |
®A |
RW |
N |
Any real number |
Access expression B |
®B |
RW |
N |
Any real number |
Access expression C |
®C |
RW |
N |
Any real number |
Access expression D |
®D |
RW |
N |
Any real number |
Access expression E |
®E |
RW |
N |
Any real number |
Access expression F |
®F |
RW |
N |
Any real number |
Access expression G |
®G |
RW |
N |
Any real number |
Access expression H |
®H |
RW |
N |
Any real number |
Access expression I |
®I |
RW |
N |
Any real number |
Access expression J |
®J |
RW |
N |
Any real number |
Access expression K |
®K |
RW |
N |
Any real number |
Access expression L |
®L |
RW |
N |
Any real number |
Since the expression GPA symbols have both read and write capabilities, they may appear on either side of the equal sign (=). The expression GPAs may also be used in any mathematical function in place of a constant or arithmetic expression.
Statement |
Assigned Value |
®A=&PI |
Expression "a" contains the value PI |
ANS=®A |
ANS equals 3.1415927... |
Expressions can store the numerical value of a constant or a arithmetic expression. The following examples show how values may be stored in expressions:
®A=4
Where 4 is a numerical value.
®A=A+B
Where A and B are previously defined numerical variables.
®B=®A+1
Where the value of expression A was previously defined. (It could be the default of 0.)
®(RDS)=DIA/2
Where RDS is a predefined string variable containing the name of an expression, and DIA is a numerical variable with a value that was also previously defined.