Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / problem with subroutine

Author
Message
best seclub
16
Years of Service
User Offline
Joined: 22nd May 2008
Location:
Posted: 4th Jun 2008 15:33 Edited at: 4th Jun 2008 15:36
Ok,so i have 3 subroutines.When i want to go to sub. 2 from sub. 1,it goes to sub. 3 instead.Why?Any explanation?
Im not doing anything unusual.I use ":" at the end of the subroutine name and go to it with "goto subroutine_name".Am i missing something?Like do i need to write something like "endsub" to seperate the subroutines or is something else wrong?

books->movies->games
best seclub
16
Years of Service
User Offline
Joined: 22nd May 2008
Location:
Posted: 4th Jun 2008 16:42
Woops,sorry.

books->movies->games

Attachments

Login to view attachments
best seclub
16
Years of Service
User Offline
Joined: 22nd May 2008
Location:
Posted: 4th Jun 2008 17:06
I would never think about that...
Ive heard many people say its not professional to use subroutines for each scene,but im a beginner,so ill learn more stuff later.

books->movies->games
best seclub
16
Years of Service
User Offline
Joined: 22nd May 2008
Location:
Posted: 4th Jun 2008 17:27
...... ..... sorry,brain error.Say that again?Where do i put that "return" thing?

books->movies->games
best seclub
16
Years of Service
User Offline
Joined: 22nd May 2008
Location:
Posted: 4th Jun 2008 17:44
Hey,thats a lot easier,thanks a bunch,man!

books->movies->games
best seclub
16
Years of Service
User Offline
Joined: 22nd May 2008
Location:
Posted: 4th Jun 2008 19:43 Edited at: 4th Jun 2008 19:44
I thought posting another topic wouldnt be right:
is there any way to represent text as image?(created with text x,y,"text")?
I mean remember the menu code?I mean if i wanted to print another text (apart from play,help,exit) that wouldnt be a "selectedItem" 4?I know i can use image instead,just curious.

books->movies->games
best seclub
16
Years of Service
User Offline
Joined: 22nd May 2008
Location:
Posted: 4th Jun 2008 21:14 Edited at: 4th Jun 2008 21:19
Thanks again,appriciate it.
heres a gift:
(\ /)

(^.^)

(")(")
the rabbid,acts innocent but wants to take over the world.

books->movies->games
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 5th Jun 2008 10:55

Login to post a reply

Server time is: 2024-11-25 04:58:59
Your offset time is: 2024-11-25 04:58:59