Functions that can be used in bindings

<< Click to Display Table of Contents >>

Manual > Screen Creation Guide > Binding >

Functions that can be used in bindings

Functions that can be used in the bind format

The format after IN/OUT/INOUT in the bind format is defined according to the arithmetic expression syntax.

The expression syntax allows you to call functions such as root methods, and also allows you to call user-defined functions.

 

In addition, there are special functions for binds called "bind functions." In particular, the "B.In" function is a function that performs condition determination in the bind process, and is also used in the bind format that is automatically generated when you specify conditions from the Easy Settings in the Bind dialog.

 

For other functions that can be used in the bind format, please refer to "Calculation Expression Syntax" in the script guide.

 

 

Bind Functions

 

Bind functions are functions prepared specifically for bind and can be written as bind format. They cannot be called from other places (script action, browser script, etc.).

 

Bind Functions

Method name

explanation

script

action

browser

script

Calculation Expression Syntax

(Binding format)

B.In

A method for input binding that evaluates the specified condition expression and returns the target result value.

×

×

〇

B.BF

Blink processing method, returns the blink value according to the blink format.

×

×

〇

B.AUTH

Determine whether permission exists.

×

×

〇

 

 

attention

Bind functions not listed in the table above (special bind functions used in library parts, such as B.IsFault) are dedicated functions further specialized for library parts, and their specifications are not disclosed.

 

 

Calling a user-defined function from the bind syntax

You can also use your own defined functions in the bind format. In that case, write them as follows:

 

1)When you use a user-defined function that you have defined in your own control, you call it by its exact name.

 

example)

 

UserFunc(1,2,3)

 

2)When using a user-defined function defined in the root object, prepend "::" to the function name.

 

example)

 

::UserFunc(1,2,3)

 

For more information about user-defined functions, see "User-defined functions".

 

 

attention

The only user-defined functions that can be called from a bind syntax are those that are written in the control that defines the bind itself, or that are defined in the root object. No other user-defined functions can be called from a bind.