News:

Function Finder  Find all the functions within source code files

Main Menu

IS it a Bug or Not?

Started by Draco9898, July 08, 2004, 07:25:21 PM

Previous topic - Next topic

Draco9898

Welcome to our new game show! Is it bug or NOT?   B)

Kevin, for 200 playbasic bucks, can you tell us if this is a bug?

When I DIM this Typed array:

Dim Coins(0) As Coins

It doesn't like when I call it from a GetArrayElements and it tells me the "." (period) is an unknown character?
But IF I do this:

Dim GameCoins(0) as Coins, it's completely OK with that  :P
DualCore Intel Core 2 processor @ 2.3 ghz, Geforce 8600 GT (latest forceware drivers), 2 gigs of ram, WIN XP home edition sp2, FireFox 2.

"You'll no doubt be horrified to discover that PlayBasic is a Programming Language." -Kevin

kevin

Yeah that's an really old bug/limitation actually... It's datatypes problem you've create two different datatypes named "coins".. from which  somehow I have to work out the context of each..  which  is clumsey, but i'll get around to it

for now, use the prefix 't"  for type declarations



Type tCoins
a
b
EndType

Dim Coins(0) As tCoins

Print GetArrayElements(Coins().tCoins,1)
sync
waitkey