Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: How to send big string to library and back?

From: al:bri:xtra at: 16-Apr-2001 17:47

Sounds like you need a unsigned integer array. Try this in C: const unsigned uWidth = 500; const unsigned uHeight = 400; const unsigned uSize = uWidth * uHeight; unsigned uCamera[uSize]; You can put values into the array like: uCamera[0] = 0x0010; // First position in array. uCamera[1] = 0x0000; //... uCamera[uSize - 1] = 0xF123; //Last position in array. I hope that helps! Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/