Page 1 of 1
Structure in Prorotype (Structure not found)
Posted: Mon Apr 28, 2008 2:55 pm
by Leonhard
Code: Select all
Prototype proto(*pram.str1, *pram.str2)
Structure str1
*s.str2
EndStructure
Structure str2
l.l
EndStructure
Is the Error in the first line really nessesary?
When I comment this line is the code OK (although I use str2 in the str1 - Structure).
Posted: Mon Apr 28, 2008 3:21 pm
by remi_meier
It should be written as
Code: Select all
Structure str1
*s.str2
EndStructure
Structure str2
l.l
EndStructure
Prototype proto(*pram.str1, *pram2.str2)
but I know you know that.
and indeed, I see no simple solution for things like
Code: Select all
Structure str1
*s.str2
EndStructure
Prototype proto(*pram.str1, *pram2.str2)
Structure str2
l.proto
EndStructure