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.

DarkBASIC Professional Discussion / subroutine irritation

Author
Message
LG Lucifer
15
Years of Service
User Offline
Joined: 28th Jul 2010
Location:
Posted: 28th Jul 2010 19:50
hi guise
i have used visual basic for around a year on my first diploma in IT and fell in love with the syntax and am trying to get into dbpro but keep finding myself hating it more and more over the same little thing

I HATE THE WAY SUBROUTINES ARE REMINICENT OF LABELS IN DOS

i would really apreciate any help with this (maybe something i can use as a replacement which will still allow for interaction with the rest of the program unlike functions?)

thanks guise

attention: the above coment was made by a newfag; please disregard his posts
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 28th Jul 2010 21:25
Quote: "which will still allow for interaction with the rest of the program unlike functions"

There is no such thing, at least without a bit of work.

You can make all of your top level variables GLOBAL:


Otherwise, you are stuck with labels and GOSUB.

Login to post a reply

Server time is: 2026-07-25 23:09:58
Your offset time is: 2026-07-25 23:09:58