array help
Zap-o
Posts: 452
Is there a clever way to move data from one array to another. Say I have a array named X [noparse][[/noparse] 30 ] and an array named y [noparse][[/noparse] 30 ] I want to copy all the data from x [noparse][[/noparse] 2 ] to x [noparse][[/noparse] 30 ] into Y [noparse][[/noparse]0 ] to y [noparse][[/noparse] 28 ]. I cant seem to get my head around a good solution.
Comments
longmove(@y, @x, 29)
Thanks for the information.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Composite NTSC sprite driver: Forum
NTSC & PAL driver templates: ObEx Forum
OnePinTVText driver: ObEx Forum
Post Edited (ericball) : 9/2/2009 11:41:23 PM GMT
works, otherwise you have to multiple the 2 by 4 to translate for long.