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 / CONSTANTS in DBPro

Author
Message
iac249
21
Years of Service
User Offline
Joined: 26th Mar 2003
Location: USA
Posted: 7th Apr 2003 00:09
How do you declare a constant in DBPro? I can't seem to find it in any of the indexes.

Thanks!
Superbeest
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: Netherlands
Posted: 7th Apr 2003 00:26
Lol it isn't in the help pages, but you can do it
#constant name value
and so on, well, Guess you know how these things work, or else you whouldn't aks it.

By steel will thy flesh divide
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 7th Apr 2003 00:27 Edited at: 7th Apr 2003 00:28
#CONSTANT MAXLIVES 3
#CONSTANT MAXSTRENGTH 100

and so on....

Note: There is no = between the constant name and value

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
iac249
21
Years of Service
User Offline
Joined: 26th Mar 2003
Location: USA
Posted: 7th Apr 2003 20:13
Thanks!

Login to post a reply

Server time is: 2024-11-24 08:28:21
Your offset time is: 2024-11-24 08:28:21