B.BF

<< Click to Display Table of Contents >>

Manual > Screen Creation Guide > Binding > Functions that can be used with binding >

B.BF


 

A method for input binding that returns a blink value at the specified frequency..

 


syntax

B.BF(

         Interval,
         Value1,

         Value2

 )

 

or

 

B.BF(

         BlinkFormat
 )

 


Parameters

 

Interval

 

Type:

character

 

According to the cycle specified by this parameter, blink value 1 and blink value 2 are returned alternately at a fixed cycle.

If you specify a value such as "1000", the blinking will occur at the specified millisecond interval.

 

In addition to specifying a numerical value directly, you can also specify the blinking frequency using the following format:

"@FAST": Fast blinking (default 500 ms cycle)

"@MEDIUM": Medium blink (default 1000 ms cycle)

"@SLOW": Slow blinking (default 3000 millisecond cycle)

 

Furthermore, the cycles such as @FAST in the above format can be freely changed in the BlinkConf root property.

For details, please refer to "About the blinking cycle".

 

Value1

 

Type:

character

 

Specify a blink value of 1.

 

Value2

 

Type:

character

 

Specify a blink value of 2.

 

BlinkFormat

 

Type:

character

 

Instead of specifying the parameters Interval, Value1, and Value2 separately, you can specify them all together with one parameter in the blink format.

The blink format can be defined as follows:

 

example)

"1000;#FF0000;#00FF00" - flashes #FF0000 and #00FF00 at 1 second intervals

"1000;ABC;DEF" - flashes "ABC" and "DEF" at 1 second intervals

"@FAST;ERROR" - Blinks "ERROR" with a period of @FAST

"@FAST;TRUE" ... True and False flash at a cycle of @FAST (*"TRUE" and "FALSE" are judged as booleans, not strings)

"1000;123;999" - flashes 123 and 999 at 1 second intervals

 

 

Return Value

 

 

Type:

character

 

Returns the corresponding blink value.

 


hmtoggle_plus1Explanation

 

hmtoggle_plus1Example

 

 


Supported


×

Script Action

×

Browser script

○

Calculation Expression Syntax

 

 


reference