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 / Data usage

Author
Message
kamac
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location: Poland
Posted: 4th Dec 2010 18:29
Hi again !

I forgot how to read Data thingie. I have the code:




Which i made partially, but i absolutely dont know how to read the Data.

So...

Halp!!!11!1111

Cheers!

~Kamac
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 4th Dec 2010 23:01
Very simple.
is what you want. But you can't use N as the loop counter and read it as data in the same loop. Well, you can, but it might not work as you expect. So maybe



kamac
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location: Poland
Posted: 5th Dec 2010 08:05
Yay, thanks .

The only thing i dont understand is why i cannot use Read n but read nNumber xP

Cheers!

~Kamac
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 5th Dec 2010 13:47
in you original snippet you were using the variable n for 2 things, where you needed to use 2 seperate variables; as demonstrated by Rich Dersheimer

kamac
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location: Poland
Posted: 5th Dec 2010 18:07
Oh, thanks, now i understand

Cheers!

~Kamac

Login to post a reply

Server time is: 2024-11-23 07:07:34
Your offset time is: 2024-11-23 07:07:34