Campbell CR200 Instrukcja Operatora Strona 107

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 106
Section 10. CRBASIC Programming
Instructions
Read More! Parameter listings, application information, and code examples are
available in CRBASIC Editor Help. CRBASIC Editor is part of LoggerNet /
PC400 / RTDAQ.
Select instructions are explained more fully, some with example code, in
Programming Resource Library (p. 109
). Example code is throughout the
CR200(X) manual. Refer to the table of contents Example index.
10.1 Program Declarations
10.1.1 Variable Declarations & Modifiers
Alias
Assigns a second name to a variable.
Syntax
Alias [variable] = [alias name]
Dim
Declares and dimensions private variables. Dimensions are optional.
Syntax
Dim [variable name (x,y,z)]
Public
Declares and dimensions public variables. Dimensions are optional.
Syntax
Public [variable name (x,y,z)]
Units
Assigns a unit name to a field associated with a variable.
Syntax
Units [variable] = [unit name]
10.1.2 Constant Declarations
Const
Declares symbolic constants for use in place of numeric entries.
Syntax
Const [constant name] = [value or expression]
93
Przeglądanie stron 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 209 210

Komentarze do niniejszej Instrukcji

Brak uwag