Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
uBASIC: new keywords do/enddo Edit
I suggest a new keyword which simplifies the program writing.
Use like this:
if a = b then do let ..... print ..... if c = d then do let ..... click .... print ..... enddo else do let ..... print ..... enddo enddo
if x > 0 then do for i = 1 to x print "value of i =", i next i enddo
Thanks you for CHDK!!!
Why not use the standard BASIC syntax?
if a = b then print "Equal" else print "Different" endif
In fact, the uBASIC manual (downloadable from http://tinyurl.com/2hj7tn) states that IF//THEN//ELSE//ENDIF is already implemented. Is that version included in CHDK?