Denso Power Net Terminal BHT-7500 Spezifikationen Seite 236

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 560
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 235
227
If you specify a global variable in
realparameter when calling a user-defined
function, the user-defined function cannot update the value of the global variable.
This is because all realparameters are passed not by address but by value.
(So called "Call-by-value")
Syntax errors:
When defining a user function
NOTE
Before any call to a FUNCTION...END FUNCTION, you need to place def-
inition of the FUNCTION function or declaration of the FUNCTION by the
DECLARE statement in your source program.
A function name is defined globally. If more than one same function name
exists in a same project, therefore, a multiple symbol definition error will
occur when files will be linked. The same error will occur also if the
FUNCTION
...END FUNCTION defines a user-created function in a file to
be included and more than one file in a same project reads that included
file.
Error code and message Meaning
error 64: Function
redefinition
You made double definition to a same
function name.
error 71: Syntax error funcname is an integer function
name, but
generalexpression
is a real type. (If funcname is a
real function name and
general-
expression
is an integer type,
then no error occurs.)
stringlength is out of the
range.
stringlength is not an integer
constant.
The function name is assigned a
value outside the function definition
block.
error 95: Incorrect use
of FUNCTION,
EXIT FUNC-
TION, or END
FUNCTION
The EXIT FUNCTION statement is
specified outside the function defini-
tion block.
The
END FUNCTION statement is
specified outside the function defini-
tion block.
Seitenansicht 235
1 2 ... 231 232 233 234 235 236 237 238 239 240 241 ... 559 560

Kommentare zu diesen Handbüchern

Keine Kommentare