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 / Is it possible to use variables for DATA commands?

Author
Message
kfoong
21
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 6th Apr 2003 04:47
the question above ^. Well is it possible?
--------
http://www.stellarblue.vze.com/
bitJericho
21
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 6th Apr 2003 05:23
no... a data statement works as such...



a read statement only returns values to a variable

bushsucks
21
Years of Service
User Offline
Joined: 8th Mar 2003
Location: United States
Posted: 6th Apr 2003 05:25
not that i know of, sorry

don't re-elect bush
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 6th Apr 2003 06:59
you could by assigning each data space with a command referenced by a number.

eg
data space 1 with data of 1 means load a cube but
data space 1 with data of 2 means load a cone

as one idea

kfoong
21
Years of Service
User Offline
Joined: 28th Jan 2003
Location: Australia
Posted: 6th Apr 2003 08:57
indi i did not understand what you just said :-s

--------
http://www.stellarblue.vze.com/
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 6th Apr 2003 13:44
after u have read in the data u can apply things to it via what data is stored in the first place.

bitJericho
21
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 7th Apr 2003 06:43



this is how you could apply what indi was talking about..

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 7th Apr 2003 08:27
at least jerico understands the principle.

I didnt have time to write it b4.

Fluffy Paul
21
Years of Service
User Offline
Joined: 16th Dec 2002
Location: United Kingdom
Posted: 7th Apr 2003 14:54
Constants can come in handy here. e.g.


your data still has to have the right numbers in it, but the constants can help remind you what it all means and make your code more readable.

Ending a sentence with a French word is so passé

Login to post a reply

Server time is: 2024-09-20 03:41:45
Your offset time is: 2024-09-20 03:41:45