tf_next_end/2—obtain the end time of the next active interval of a time frame

The syntax for tf_next_end/2 is as follows:

tf_next_end($TIMEFRAME,$END)
$END=tf_next_end($TIMEFRAME)

tf_next_end/2 arguments 

Argument

Mode

Type

Description

$TIMEFRAME

Input

OBJECT

Specifies the time frame object

$END

Output

INTEGER

End time of next active interval

Use the tf_next_end/2 to obtain the end time of the next active interval of time frame $TIMEFRAME in $END.

A 0 value is returned if there is no next active time frame.

tf_next_end/2 example

$END = tf_next_end($TF);
Was this page helpful? Yes No Submitting... Thank you

Comments