Computer Access Technology Corporation
IB
Tracer
Verification Script Engine Manual, version 1.0
Page 24 of 35
If( IsEqualTime( t1, t2 ) ) DoSomething();
12.2 IsLessTime()
Verifies that one VSE time object is less than the other VSE time object
Format
:
IsLessTime (
time1, time2
)
Return values:
Returns 1 if time_1 is less than time_2,
returns 0 otherwise
Parameters:
time_1
- VSE time object presenting first time interval
time_2
- VSE time object presenting second time interval
Example:
t1 = Time(100); t2 = Time(500);
If( IsLessTime ( t1, t2 ) ) DoSomething();
12.3 IsGreaterTime()
Verifies that one VSE time object is greater than the other VSE time object
Format
:
IsGreaterTime (
time1, time2
)
Return values:
Returns 1 if time_1 is greater than time_2,
returns 0 otherwise
Parameters:
time_1
- VSE time object presenting first time interval
time_2
- VSE time object presenting second time interval
Example:
t1 = Time(100); t2 = Time(500);
If( IsGreaterTime ( t1, t2 ) ) DoSomething();