Remote Processing Coorporation RPC-320 Specifikace Strana 83

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 82
Commands - 53
INC and INCF
Statements
SYNTAX: INC variable
INCF variable
PURPOSE: To increment a variable by one (INC) or four (INCF).
REMARKS: This is a fast increment of a simple or array variable.
A=A+1 slow
INC A fast
A=A+4 slow
INCF A fast
INC executes more than double the speed of the statement it replaces. Valid for simple and array
variables.
RELATED: DEC, DECF
EXAMPLE: 10 PRINT H
20 INC H
30 PRINT H
40 INCF H
50 PRINT H
RUN
0
1
5
Line 10 increments element 8 of the array A.
10 INC A(8)
ERROR: <Expected variable> – if parameter is not a variable
Zobrazit stránku 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 185 186

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

Žádné komentáře