Re: LZ: array's
[Prev][Next][Index][Thread]
Eric Matthew Linenberg wrote:
>
> wht you do is seta an area of free memory to the array-- for instance you set
> the array to begin ato $FC00-- (i think thats the beginning of text mem) then
> for however many spots you want in the array you set that much room-- then I
> think you can load ix or iy with the front of the array, and you can access
> the different spots of the array by doing something like ld a,ix+4
>
> or you can set off data like the way you do with strings-- (stringns are just
> a null teminated array of characters) so you can do
>
> array1:
> db 0,0,0,0,0,0,0,0,0,0,0
>
> then you can get hl to point to your array by doing like you do with a
> string, and then accessing different elements of it by adding and
> subtractiong from hl
> if you need more help just ask, and I think I do not have any errors in here
>
> >I am just wondering, how are arrays used in programs because I want to
> >use them in my programs but don't understand how to
> >PCoMP
can you send me routines on how to do that because I am still confused.
PCoMP
References: