IDEal - new BB IDE - version 0.8.77 released

Miscellaneous Forums/Blitz Showcase/IDEal - new BB IDE - version 0.8.77 released

To Trixx and Eurhythmy :

I've solved the "problem". It's not very explicit in the doc, but now I understand the thing and I haven't got errors in Ideal anymore.

Here is the example :


Type T00  ; this is TYPE
	Field T00v10v00%
End Type

;********************
;********************
;it's here I must declare the TYPE variable !!!
Global myvar.T00
Global myvar2.T00
;********************
;********************

Function GESTION00A()
	;Global myvar2.T00
	myvar.T00=New T00 ; This is Variable ( of type T00 )
	myvar\T00v10v00=Rand(0,9)
	Print myvar\T00v10v00
End Function

Function OBJET00A()
	;Local myvar2.T00
	For myvar2.T00=Each T00 
		myvar2\T00v10v00=(myvar2\T00v10v00+1)
		Print myvar2\T00v10v00
	Next
End Function

;Print T00\T00v10v00 ; If you put this line into your example, compiler will report an error

Repeat
	GESTION00A()
	OBJET00A()
	Print ""
	WaitKey
	Delete Each T00
Until KeyDown(1)