Page 1 of 1

how to structure a code ?

Posted: Sun Mar 25, 2012 12:51 pm
by stefff285
hi all pleaz accept my apologies for this noob question
but i didn't found the anwer in the amiga guide

so then

i would like for a demo party generate a exe as a picture program
with sound, scroll text and so

the program is going to be played at screen, dispatching my own
pics and then going back to menu

my problem is that yes i understood fonctions and so but how to make
as in BASIC goto 10 at line 100, making the script going to beginning of
program ? do i need to generate a fonction to call another one which is
the beginning of the program (main screen with scroll text, pictures and
sound) or else ?

pleaz accept my appologies yet and thanx by advance ffor reply

regards to all

steff from france

Re: how to structure a code ?

Posted: Sun Mar 25, 2012 5:16 pm
by djrikki

Code: Select all

Repeat
      ; do stuff

      ; get to the end of your demo and start over from the top
Until IsLeftMouse() = True
; thanks for watching

Re: how to structure a code ?

Posted: Sun Mar 25, 2012 5:58 pm
by stefff285
hello hello

thanx a lot i go do my gfx compile right tomorrow now
i have time to release it but well time stills time :)

thanx a lot, i'm a nooob under hollywood right now
but i go thinking about all this

of course all people who helped me will be in greets
and the program forum too :)

thanx yet and regards