hey guys,
i am working with KRC4, KSS 8.6.8
yesterday i went through robot forum looking for generating a dialog message and found this code would do the work.
MsgDialog(,"Do you want to quit program?",,,"No","Yes")
so when i run the program i get this message 'do you want to quit program' and option are YES /// NO .
if i press yes the program continues and ends the program as i have programmed. so i have no problem with yes option
but pressing no would also lead me to same result, how can i make a condition so that when NO is pressed it does something else.
for example:
if end_pallet_signal==true then ; end button pressed then it continues
MsgDialog(,"Do you want to quit program? ",,,"No","Yes") ; dialog box appears option yes or no
$out[900]=false ; if yes it continues
goto start_of_program
endif
for above program i want to make it so that when No is pressed then $out[900]= false and goto some where else.
i went through the manual but coulnot follow the example.
help would be appreciated. thanks in advance.