Basically the same way, except use two dimensions...

by

Assuming Map is an integer array:

Bytes = 41 *101 *2 'number of elements times two (including zero elements)
DEF SEG = VARSEG(Map(0, 0))
BSAVE "Maparray.BSV", VARPTR(Map(0, 0)), Bytes
DEF SEG

...and to BLOAD it again, just use:

DEF SEG = VARSEG(Map(0, 0))
BLOAD "Maparray.BSV", VARPTR(Map(0, 0))
DEF SEG

-Bob



    
This message has been edited by qb432l from IP address 70.52.185.15 on Mar 21, 2008 12:08 PM
This message has been edited by qb432l from IP address 70.52.185.15 on Mar 21, 2008 11:56 AM

Posted on Mar 21, 2008, 11:54 AM
from IP address 70.52.185.15

Respond to this message   

Goto Forum Home