Denso Power Net Terminal BHT-7500 Specifikace Strana 267

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 266
Chapter 14. Statement Reference
258
Syntax:
Syntax 1:
[LET] stringvariable = stringexpression
Syntax 2:
[LET] numericvariable = numericexpression
Description:
LET assigns a value of expression on the right-hand side to a variable on the left-
hand side.
In a numeric data assignment, the assignment statement automatically converts
an integer value to a real value. In the type conversion from a real value to an
integer value, it rounds off the fractional part.
Keyword LET can be omitted since the equal sign is all that is required to assign
a value.
The data type of a variable and an expression must correspond.
Syntax errors:
Assignment statement
LET
Assigns a value to a given variable.
Error code and message Meaning
error 71: Syntax error
The data type on the right- and left-
hand sides does not correspond. That
is, the variable on the left-hand side is
numeric but the expression on the
right-hand side is a string, or vice
versa.
Zobrazit stránku 266
1 2 ... 262 263 264 265 266 267 268 269 270 271 272 ... 559 560

Komentáře k této Příručce

Žádné komentáře