FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   savebytes question
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: savebytes question  (Read 208 times)
Daniel Lievens
Guest
Email
savebytes question
« on: Feb 9th, 2004, 4:11am »

I'm just learning this and I'm trying out the examples and things and when I try the example code for savebytes, which looks like this:
byte[] nums = { 0, 34, 5, 127, 52};  
 
// now write the bytes to a file  
saveBytes("numbers.txt", nums);  
 
it doesn't write those numbers, but instead writes only:
"4
 
Can anyone tell me what's going wrong?
Thanks a lot.
daniel lievens
 
Pages: 1 

« Previous topic | Next topic »