(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-08-24 05:19 AM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - Getting a single digit out of an X and a Y
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
Disch
Posts: 152/202
not 100% sure what you're trying to do... but I think what you're looking for is [(y * width) + x]
interdpth
Posts: 102/362
Ok so here's what I need to know

Say you have a hested for loop and a buffer that is a single digit array i mean a 1D
dim buffer(0 to 512) as byte
dim x as byte
dim y as byte
dim counter as integer 'counter is the single digiit we want created
for y = 0 to somenumber
for x = 0 to some number
buffer(someweirdmathhere)
next x
next y

So what do I do to make them into a single digit and get the effect I want?
Acmlm's Board - I3 Archive - Programming - Getting a single digit out of an X and a Y


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.009 seconds; used 347.30 kB (max 379.86 kB)