[Gambas-user] PRB: Compile does not find wrong type

ron ronstk at ...239...
Sat Mar 27 10:34:52 CET 2004


Hallo,

Oh Oh again nasty ron.

In the subroutine I have a DIM xxx AS String[]
then I call in this subroutine an other sub routine
	
SUB AAA()
	DIM xxx AS String[]
	'code to fill xxx
	ShowMe(xxx)
END

SUB ShowMe(xxx AS Collection)
	'do the show
END

As you can see in the second I declare it by mistake as Collection.
Both compile buttons on main form pass
Make executable pass also
At running I got the 'Got String expected Collection' message.
I had this several times before so I decide to report it, just in case.
We want v1.0 as good as possible?

BTW the tooltip of both buttons say 'Compile All'
I thought it was this module and all modules.

I feel lucky with gambas :)

Ron




More information about the User mailing list