The Daily Click ::. Forums ::. Klik Coding Help ::. Reading into an array
 

Post Reply  Post Oekaki 
 

Posted By Message

KeyrenZero



Registered
  25/05/2002
Points
  223
8th August, 2004 at 02:45:23 -

Is there an extention that I can use to read text from a file into the array extention?

I want to read in single characters into seperate array coordinates, to construct maps from text files.

Thanks for the help!

 
http://keyrenzero.bounceme.net/

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
8th August, 2004 at 08:22:26 -

Load the file into an Edit or Rich Edit object, and loop through every character in the file using Fast Loops. You can use String Parser 2 to convert characters into their ASCII values, which is probably what you'll want to do.

 
n/a

KeyrenZero



Registered
  25/05/2002
Points
  223
10th August, 2004 at 16:29:43 -

Thankyou much!

 
http://keyrenzero.bounceme.net/
   

Post Reply



 



Advertisement

Worth A Click