HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... Checkhit
Checkhit
  View type:
Hi,
Is there any way to use the IF.. Else statements with Checkhit?
i.e If Checkhit is true, then display object, Else display another object.
[:confused:]
 
Hi, Anand!
In fact CHECKHIT is conditional action itself (along with IF and IF SUCCESS), therefore you do not need to use additional IF. As with any conditional action you can use ELSE branch. I.e.

CHECKHIT(some_object_id)
_ DISPLAY(some_obj)
_ ELSE
_ _ DISPLAY(other_obj)
 
 
Works great!
Thanks[;)]
Subject:
Message options
No additional options