this doesn't work, too:
PROTOTYPE _create: mt AS TTest, text$, x%, y%
TYPE TTest
x%;y%
text$
create AS _create
ENDTYPE
GLOBAL _TTest[] AS TTest
LOCAL t AS TTest
t.create = CreateTTest
t.create(t, "test",10,20)
WHILE TRUE
PRINT t.text$, t.x, t.y
SHOWSCREEN
WEND
END
FUNCTION CreateTTest: t AS TTest, text$, x%, y%
t.x = x
t.y = y
t.text$ = text$
ENDFUNCTION