Denso Power Net Terminal BHT-103 Dokumentacja Strona 222

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 577
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 221
Chapter 14. Statement Reference
214
Syntax:
Syntax 1 (Defining a numeric function):
FUNCTION funcname [(dummyparameter
[,dummyparameter...])]
Syntax 2 (Defining a string function):
FUNCTION funcname [(dummyparameter
[,dummyparameter...])][[stringlength]]
Syntax 3 (Existing from the function block prematurely):
EXIT FUNCTION
Syntax 4 (Ending the function block):
END FUNCTION
Syntax 5 (Assigning a returned value):
funcname = generalexpression
Syntax 6 (Calling a function):
funcname[(realparameter[,realparameter...])]
Parameter:
funcname
•For numerics
funcname% Integer function name
funcname Real function name
•For strings
funcname$ String function name
dummyparameter
A non-array integer variable, a non-array real variable, or a non-array string vari-
able.
stringlength
An integer constant having a value from 1 to 255.
realparameter
A numeric or string expression.
User-defined function statement
FUNCTION…END FUNCTION
Names and creates user-defined function FUNCTION.
Przeglądanie stron 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 576 577

Komentarze do niniejszej Instrukcji

Brak uwag