> The nice solution with shifting the data will give me the > wrong result > > for 4 loop > sd_read(read) > > > temp1 = temp1 << 8 > temp1 = temp1 | read > end loop
It looses part of its elegance indeed when used for LSB first. This one is quite demanding in ressources: for 4 loop sd_read(read) temp1=temp1>>8 temp1=temp1 | dword(read) <<24 end loop This one's better, but probably still worse than direct access: var dword temp1 var byte temp1_bytes[4] at temp1 for 4 loop sd_read(read) temp1=temp1>>8 temp1_bytes[3]=read end loop Greets, Kiste -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
