0 Members and 2 Guests are viewing this topic.
Buffer(64)->GDB1 //I create a area Inside of the program, wich is 64 bytes long (so 1 element is one bytes)//GDB1 is a pointer to this area, an adress use to access to it.//if I want to acess to the element X,Y I mostly use something like this :{Y*8+X+GDB1}//as we work with "list", we need to jump from 8 in 8 with the Y coordinate, and 1 by 1 with the X//brackets is used to read a byte at the adress provided inside
Buffer(dimX*dimY)->GDB1//read :{Y*dimX+X+GDB1}//dimX dimY dimension of the matrix.
//write :value->{Y*dimX+X+GDB1}//dimX dimY dimension of the matrix, value an integer between 0 and 255
[05050505050505050505050505050505050505050505050505]->GDB1While A<=24[05050505050505050505050505050505050505050505050505]A+1->AEnd
[05050505050505050505050505050505050505050505050505]->GDB1[05050505050505050505050505050505050505050505050505][05050505050505050505050505050505050505050505050505]""""etc...
While A<=24A+1->AEnd[05050505050505050505050505050505050505050505050505]->GDB1[05050505050505050505050505050505050505050505050505]
Buff([wanted size of GDB1 in Bytes])->GDB1Fill(GDB1,[size of GDB1],5)
Buff([wanted size of GDB1],5)->GDB1