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.

Author
Message
code master
21
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Illinois
Posted: 16th Mar 2006 15:24 Edited at: 16th Mar 2006 15:45
Does DBC have a Global keyword? And, if not, are there any work-arounds?

EDIT saw that dark edit had a Global keyword, but when i run a program with a "GLOBAL" statement, it gives an error

later

Duke Blue Devils
19
Years of Service
User Offline
Joined: 11th Mar 2006
Location:
Posted: 16th Mar 2006 15:36
What are you trying to do? Can you put your question in context please?

J.J. Redick-Player of the year
2006 National Champions
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 16th Mar 2006 15:56 Edited at: 16th Mar 2006 15:58
There is no Global in DB Classic....

Edit: I didn't know that Dark Edit had a global keyword.. I use the original editor.... I prefer it.

Everything is global anyway, except for stuff inside functions. If you want Global functions use a Gosub instead.

Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 16th Mar 2006 20:53
Not everything is global, if you make a simple variable it cannot be used in a function unless it's used as a parameter.

If you make it an array it will be global, and I'm pretty sure TDK made something that makes things global...

Login to post a reply

Server time is: 2025-05-23 19:13:39
Your offset time is: 2025-05-23 19:13:39