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 / Help with the DATA/READ commands

Author
Message
Ir uber 1337
18
Years of Service
User Offline
Joined: 9th Dec 2005
Location:
Posted: 12th Dec 2006 05:19
I was hoping that someone could either point me in the direction of a tutorial or briefly explain the commands and how to implement. I've poked around the codebase in hopes of something similar but much is vaguely commented.

I am attempting to create markers on a map that has the cordinates stored in the DATA.

Basically I have it:


45 = X
50 = Y
5 = Radius

I am trying to figure out how to call upon the data stored. Thanks for any help.
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 12th Dec 2006 07:08 Edited at: 12th Dec 2006 07:10


zomg

Basically, just call the "read [variable to put the read stuff into]" command so many times, and it will always read the next data value in line.

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th Dec 2006 19:16
With your data statements, what you need to do is this:



It's fairly simple really. One other thing you might find useful is that you can reset the point of where you are reading your data from by using the RESTORE command and a label:



This code will display '5' on the screen.

Login to post a reply

Server time is: 2024-11-26 05:36:51
Your offset time is: 2024-11-26 05:36:51