Denso RC5 Specifikace Strana 273

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 692
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 272
Chapter 11 Flow Control Statements
11-23
11.6 Comment
REM (Statement)[Conforms to SLIM]
Function
Describes a comment.
Format
{REM|'}[<Comment>]
Explanation
This statement is added when <Comment> is described in a program.
A character string after REM does not affect program execution.
A single quote (') can be used instead of REM.
Example
REM Executes a plural condition decision.
SELECT CASE Index
'The command is executed when the index value matches the CASE
'statement value.
CASE 0 'When the index is 0.
STOP 'Ends the program.
CASE 1 'When the index is 1.
HALT “STOP” 'Suspends the execution of the program.
CASE 2 'When the index is 2.
HOLD “STOP” 'Suspends the execution of the program.
CASE 3 'When the index is 3.
STOPEND
'Stops a continuous program or stops the program after a cycle.
CASE 4 'When the index is 4.
END 'Declares the end of motion by the program.
END SELECT 'Declares the end of a plural condition decision statemen
Zobrazit stránku 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 691 692

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

Žádné komentáře