Pure1993
2009-01-16 18:50:02
Hey guys,
Well, I'm growing abit tired of learning C++, so I am returning to my little scar script. ^^
Anyway, the problem I am encountering is, that I can't figure out how to get an array out of a TShape so that it can be used in forms… Technically a TShape shouldn't be too different from a record (sorry if I'm completely mistaking), but when I try either, it doesn't work:
Both are return errors… the most common one is : invalid recod type, or something like that. Sorry if I'm asking the impossible again… ^^
Thanks a lot :spot:
Pure1993
Well, I'm growing abit tired of learning C++, so I am returning to my little scar script. ^^
Anyway, the problem I am encountering is, that I can't figure out how to get an array out of a TShape so that it can be used in forms… Technically a TShape shouldn't be too different from a record (sorry if I'm completely mistaking), but when I try either, it doesn't work:
{....}
TFigure: TShape;
Figure : array of TFigure;
Figure : array of TShape;
Both are return errors… the most common one is : invalid recod type, or something like that. Sorry if I'm asking the impossible again… ^^
Thanks a lot :spot:
Pure1993