Qbasicnews.com

Full Version: can you PUT a pointer..?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Anonymous

heres the parts of meh code that are relevant

Code:
type maptype field=1

  numofrooms AS UBYTE
  tilesetname AS string * 12
  rooms as roomheader ptr
  numoftiles as short
  tilesizex as ubyte
  tilesizey as ubyte
  tileset as short ptr

end type

dim map as maptype ptr

put (tilex% - xoffset%, tiley% - yoffset%), map->tileset[0]


is there some special way to PUT an array thats pointed to? please tell me its possible... :P

im getting:

"error 14: Expected identifier"
see fbgfx_getput.bas example

Anonymous

thanks =) i didnt have .12