Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can you PUT a pointer..?
#1
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"
Reply
#2
see fbgfx_getput.bas example
url]http://fbide.sourceforge.net/[/url]
Reply
#3
thanks =) i didnt have .12
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)