Denso Power Net Terminal BHT-7500 Dokumentacja Strona 234

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 233
225
Syntax:
Syntax 1 (Defining a numeric function):
FUNCTION funcname [(dummyparameter
[,dummyparameter...])]
Syntax 2 (Defining a character 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$ Character 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 defines user-created function FUNCTION.
Przeglądanie stron 233
1 2 ... 229 230 231 232 233 234 235 236 237 238 239 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag