Remote-processing CAMBASIC Uživatelský manuál Strana 156

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 208
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 155
Commands - 123
STOP
Statement
SYNTAX: STOP
PURPOSE: To terminate pr ogram execution and return to comm and level.
REMARK S: STOP statements m ay be used anywher e in a program to terminate executio n. W hen a STOP is
encountered, the following message is displayed:
< STOP> < Ln nnn>
where nnn is the line number where the STOP occur red.
CAM BASIC always returns to command level after a STOP is executed. Execution is resumed by
issuing a CONT com mand (see “C ONT Comm and”).
SOUND and multitasking are turned off when STOP is executed. A CONT may cause unexpected
program operation.
RELATED: CONT
EXAMPLE: 10 INPUT A,B,C
20 K = 5 : L = 3/2
30 STOP
40 M = CSK + 100 : PRINT M
RUN
? 1,2,3
<STOP> <Ln 30>
ERROR: none
Zobrazit stránku 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 207 208

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

Žádné komentáře