FAQ  •  Register  •  Login




User avatar

Posts: 9

Joined: Tue May 12, 2015 5:09 pm

Post Wed Nov 04, 2015 3:53 pm


Hi, I'm a newbie with Boriel's ZX Basic and I´m not sure if there is a way to do something like this:

DIM charset(767) As uByte At 49152 => {0,12,48,36,....,(768th byte)}

The idea is to place an array of 768 bytes (like a character set) at a specific memory direction(49152).

I was read the Wiki and I found some references to "DIM At" but it's not clear for me .


Site Admin

Posts: 1521

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Wed Nov 04, 2015 4:46 pm

Re: DIM At?

Unfortunately DIM AT for arrays is not supported (yet).
This is because ZXBASIC allocates a table of dimensions (one Uinteger per dimension) just before the data.
I'm working on a Dynamic ARRAY scheme, so this could be possible in the future.

Return to Help & Support

Who is online

Users browsing this forum: No registered users and 0 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.