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 Discussion / What is the character for numbers?

Author
Message
Roland Conrad Szigeti
16
Years of Service
User Offline
Joined: 12th Apr 2009
Location: Melbourne
Posted: 17th Apr 2009 22:54
$ is for strings
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 18th Apr 2009 00:16
nothing for numbers, unless u mean floats (decimals), the 3 types of variables r:

number = an integer
number# = a float (decimal)
word$ = a string (words)

There are only 10 kinds of people in the world, those who understand binary and those who dont
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 18th Apr 2009 05:43
some DB help files call floats "real" numbers. They are the same thing.

can't read?
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 18th Apr 2009 06:30
right, most help files in DBC use the term real number

There are only 10 kinds of people in the world, those who understand binary and those who dont
Roland Conrad Szigeti
16
Years of Service
User Offline
Joined: 12th Apr 2009
Location: Melbourne
Posted: 18th Apr 2009 11:00
thanks for the help guys

Login to post a reply

Server time is: 2025-08-08 20:38:29
Your offset time is: 2025-08-08 20:38:29