![]() ![]() |
![]() ![]() Post #1 | |
![]() Trained Member Posts: 77 Joined: 25-October 10 ![]() | SANNY {$CLEO} 0000: NOP :TRUE_WTF wait 0 if 0AB1: call_scm_func @function 0 else_jump @GOOD 0AD1: show_formatted_text_highpriority "function returned true of last condition, what the hell?" time 4000 jump @TRUE_WTF :GOOD 0AD1: show_formatted_text_highpriority "it works as expected" time 4000 jump @TRUE_WTF :function // There is no return_true for 0@ = 1 to 10 end 0AB2: ret 0 What you think that will appear? 0AD1: show_formatted_text_highpriority "function returned true of last condition, what the hell?" time 4000 It is. There wasn`t return_true in sample function. This post has been edited by fastman92: May 17 2011, 07:29 PM |
![]() ![]() |