aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1065

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1065  branch a program after button is pushed

20/01/2005 @ 22:37
by justin cooper

Anonymous



hello, I hope you can help. Im doing pretty well with your program, but the last thing i programmed was a comodor 64 twenty years ago. i can put the button on the screen but how do you make the program branch when the button is pushed thanks Justin
Write to justin cooper   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
20/01/2005 @ 23:29
by aldweb

Anonymous

visitor
Hello Justin,

The program will branch in a loop tracking for events, something like:

REPEAT
E=DOEVENTS
IF E=some value do something
IF E=another value do something else
UNTIL E=-1


So:
1. read the Appendix #1 - Tutorial - my first iziBasic program in the user manual
2. read the paragraph about the DOEVENTS (or WAITEVENT) function in the user manual
3. give a look to the sample programs source code, especially those in the GUI area (NekoCat, Matches, Numerus, iBClock) because they all deal with this

Cheers

@+
aldweb
Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^