Arguments
condition
Numeric or string expression that is
True
or
False
. If
condition
is Null,
condition
is
treated as
False
.
statements
One or more statements that are repeated while or until
condition
is
True
.
Operators
Symbols used to execute mathematical operations and determine whether a particular condition
exists.
+
Adds two values
-
Subtracts two values
*
Multiplies two values
/
Divides two values and returns a floating point result
\
Divides two values and provides an integer result
Mod Finds the remainder of a division
^
Raises a number to the power of an exponent
Or
Checks if one condition or another exists
And Checks if one condition and another exists
ASSIGNMENT
- Symbol used to assign a numeric value.
= assigns a new value to a variable
COMPARATORS
-Symbols used to compare numeric values to each other
<
Less than
>
Greater than
=
Is equal to
<>
Is not equal to
<=
Less than or equal to
>=
Greater than or equal to
COMMENTS
-Text used to add notes to a program. Typically used to briefly explain what the
program or statement is doing. They may be used freely to make a program easier to under-
stand. Comments are ignored by the program. A comment is identified by a single quote at the
beginning of the line.
' comment
mONTH, DAY, YeAR, HOURS, mINUTeS, SeCONDS, & WeeKDAY
These variables represent the values from the real-time clock in your PC. They do not have to
be declared in a Dim statement. The variable names are as follows:
22-9
Chapter 22: Distributed Control using Visual Basic
Содержание Sensaphone SCADA 3000
Страница 1: ...Sensaphone SCADA 3000 User s Manual Version 2 34...
Страница 6: ...vi SCADA 3000 User s Manual...
Страница 10: ...x SCADA 3000 User s Manual...
Страница 30: ...1 6 SCADA 3000 User s Manual...
Страница 48: ...4 6 SCADA 3000 User s Manual...
Страница 70: ...9 8 SCADA 3000 User s Manual...
Страница 122: ...12 8 SCADA 3000 User s Manual...
Страница 190: ...15 30 SCADA 3000 User s Manual...
Страница 211: ...lead 1 lag 0 else lead 0 lag 1 16 21 Chapter 16 Programming in C...
Страница 212: ...16 22 SCADA 3000 User s Manual...
Страница 236: ...21 8 SCADA 3000 User s Manual...
Страница 248: ...22 12 SCADA 3000 User s Manual...
Страница 258: ...23 10 SCADA 3000 User s Manual...
Страница 274: ...25 8 SCADA 3000 User s Manual...
Страница 288: ...27 8 SCADA 3000 User s Manual...
Страница 294: ...28 6 SCADA 3000 User s Manual...
Страница 296: ...A 2 SCADA 3000 User s Manual...
Страница 302: ...D 2 SCADA 3000 User s Manual...
Страница 318: ...I 2 SCADA 3000 User s Manual...
Страница 320: ...J 2 SCADA 3000 User s Manual...
Страница 322: ...K 2 SCADA 3000 User s Manual...
Страница 335: ...Test Log...
Страница 336: ......