Denso RC5 Specifications Page 192

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 191
8-10
8.7 Assignment Statement
An assignment statement sets a value for a variable of each type.
There are 4 assignment statements for numeric values; assignment statement,
character string assignment statement, vector assignment statement and pose
assignment statement.
Note: The LET command can be ignored in all assignment
statements.
8.7.1 Numeric Value Assignment Statement
A numeric value assignment statement assigns a value to a numeric value
variable.
Example: LET I[1] = 10 'Assigns 10 to I[1].
D[2] = 3.14 'Assigns 3.14 into D[2].
8.7.2 Character String Assignment Statement
A character string assignment statement assigns a character string type
variable.
Example: S[2] = "DENSO" 'Assigns "DENSO" to S[2].
LET SS$ = S[2] 'Assigns a value of S[2] to SS$.
8.7.3 Vector Assignment Statement
A vector assignment statement assigns a vector type variable. The following 4
commands can be used.
Vector Assignment Statements
Type Command Example
Vector type
assignment
LET LET V[2] = (1,2,3)
X component
assignment
LETX LETX V[2] = F1
Y component
assignment
LETY LETY V[2] = F1
Z component
assignment
LETZ LETZ V[2] = F1
Page view 191
1 2 ... 187 188 189 190 191 192 193 194 195 196 197 ... 691 692

Comments to this Manuals

No comments