Reserved Identifiers
126
NetLinx Programming Language Reference Guide
Keywords & Run-Time Library Functions (Cont.)
FIND_STRING
This function searches through a string for a specified sequence of characters.
INTEGER FIND_STRING (CHAR STRING[ ], CHAR Seq[ ], INTEGER
Start)INTEGER FIND_STRING (WIDECHAR STRING[ ], WIDECHAR
Seq[ ], INTEGER Start)
Parameters:
•
STRING
: The string of character to search.
•
Seq
: The sequence of characters to search for.
•
Start
: The starting character position for the search.
Result:
A 16-bit unsigned integer representing the character location of
Seq
in
STRING
.
If the character string is found at the beginning of the string, this
function returns 1; any error condition returns 0.
POS = FIND_STRING(STRING, 'ABC', 1)
FIRST_LOCAL_PORT
This keyword contains the lowest number that may be assigned as a local port
number. See the
IP Communication
section on page 189 for more information.
FLOAT
This keyword defines an intrinsic data type representing a 32-bit signed
floating-point value.
FOR
This keyword defines a
FOR
loop. The looping structure allows you to define ini-
tialization statements, statements to execute after each pass through the loop
and a condition to test after each pass. If the condition evaluates to true,
another pass is made; otherwise the loop is terminated.
FOR (<initial>; <condition>; <after pass>)
{
(* for loop statements *)
}
See the
FOR loops
section on page 18 for more information.
Содержание NETLINX PROGRAMMING LANGUAGE
Страница 15: ...Table of Contents xiii NetLinx Programming Language Reference Guide...
Страница 16: ...xiv NetLinx Programming Language Reference Guide Table of Contents...
Страница 18: ...Introduction 2 NetLinx Programming Language Reference Guide...
Страница 76: ...Language Elements 60 NetLinx Programming Language Reference Guide...
Страница 106: ...Combining Devices Levels and Channels 90 NetLinx Programming Language Reference Guide...
Страница 112: ...Master To Master M2M 96 NetLinx Programming Language Reference Guide...
Страница 114: ...Mainline 98 NetLinx Programming Language Reference Guide FIG 1 Message and Mainline Processing in the NetLinx System...
Страница 182: ...Reserved Identifiers 166 NetLinx Programming Language Reference Guide...
Страница 204: ...NetLinx UniCode Functions 188 NetLinx Programming Language Reference Guide...
Страница 244: ...Appendix B Glossary 228 NetLinx Programming Language Reference Guide...
Страница 245: ...Appendix B Glossary 229 NetLinx Programming Language Reference Guide...