how to structure a code ?

Find quick help here to get you started with Hollywood
Post Reply
User avatar
stefff285
Posts: 230
Joined: Sat Mar 03, 2012 12:59 pm
Location: dijon / france
Contact:

how to structure a code ?

Post 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
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: how to structure a code ?

Post 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
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
stefff285
Posts: 230
Joined: Sat Mar 03, 2012 12:59 pm
Location: dijon / france
Contact:

Re: how to structure a code ?

Post 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
Post Reply