Denso Power Net Terminal BHT-7500 Dokumentacja Strona 27

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 26
18
2.3 Writing a Source Program
2.3.1 Writing a Source Program by an Editor
To write a source program, use an editor designed for operating environments where the BHT-
BASIC 3.5 Compiler will execute. The default editor is Windows Notepad.
2.3.2 Rules for Writing a Source Program
When writing a source program according to the syntax of BHT-BASIC 3.5, observe the follow-
ing rules:
A label name should begin in the 1st column.
A statement should begin in the 2nd or the following columns.
One program line should be basically limited to 512 characters (excluding a CR code)
and should be ended with a CR code (by pressing the carriage return key).
If you use an underline (_) preceding a CR code, however, one program line can be
extended up to 8192 characters. For statements other than the
PRINT, PRINT#, and
PRINT USING statements, you may use also a comma (,) preceding a CR code, instead
of an underline.
TIP
To write a source program efficiently, use of a commercially available editor is rec-
ommended. For the operation of such an editor, refer to the instruction manual for
the editor.
ABC
2000
PRINT
FOR I=1 TO 100 : NEXT I
Przeglądanie stron 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag