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 / i need help

Author
Message
t10dimensional
16
Years of Service
User Offline
Joined: 22nd Mar 2009
Location: Code Cave, USA
Posted: 25th Mar 2009 22:05
what is data,what is it used for

im new at this
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 25th Mar 2009 23:05
Next time, you can use the search function at the bottom of the page, or, you could just look:

Data Command?

Also, titles like "i need help" do NOT help. Please make a more useful title like "What is the DATA command used for?" or the like.

~QJ
That's what they WANT you to think...
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 26th Mar 2009 04:46
hey i posted that thread you linked it to! hahahaha

New Site! Check it out \/
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 26th Mar 2009 20:51
ummm.....
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 26th Mar 2009 21:59
@That1, actually both of you

Please see this.

And yes, Caleb, it was your thread.

~QJ
That's what they WANT you to think...
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 27th Mar 2009 02:54
what did i do? i'm confused

New Site! Check it out \/
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 27th Mar 2009 03:25
@caleb
u made a really obvious and pointless statement, we all realized whos thread it was

@quirky
wasnt meant to insult him, just trying to make a point that he said something pointless
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 27th Mar 2009 05:25
oh sorry

New Site! Check it out \/
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 27th Mar 2009 23:45
no prob, one thing to learn about me:
NEVER TAKE ANYTHING I SAY SERIOUSLY
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 27th Mar 2009 23:46
Quote: "he said something pointless"


Countering with a perfectly pointless statement!

~QJ
That's what they WANT you to think...
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 27th Mar 2009 23:48
lol, true
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 28th Mar 2009 02:10
@all

Please refer to: Why are people so rude to me?

Enjoy your day.
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 28th Mar 2009 02:35
wow i imperessed even myself, one post and i got two referrals to rule threads
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 28th Mar 2009 08:28
Quote: "wow i imperessed even myself, one post and i got two referrals to rule threads "


Personal best?

Anyway, just to stay on topic so that I don't get referred to the rules myself:

Though it has been said, DATA stores information that is constant for reading in the program, though it is rarely used. It can store anything from strings, to integers, to floats and can be accessed with the READ command.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 30th Mar 2009 00:11
Data is useful for when you have "hard" data; data that you write into the program to begin with.
Say for instance you had a game where there were many different types of monster that all had different attributes, you could put all the attributes and the names of the monsters in data statements like this...

This is like an archive of monster templates that we'll use when spawning a monster...


The Universe has been erased by a mod because it was larger
than 240x80 pixels.

Login to post a reply

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