Packed Record type?
I have a bunch of typed structures that use packed records. Is there any plan to add a new .AddType(BLAH,fvtPacked) to enable FastScript to see packed records? I'd like to purchase FastScript but without being able to use and see the packed records from inside FastScript it is a deal breaker.
type
PBLAH = ^BLAH;
PPBLAH = ^PBLAH;
BLAH = packed record
myfirstvar: blah2;
mysecondvar: pchar;
x,y,z: longint;
end;
Alternately does anyone have any suggestions on how I could make my packed records visible to FastScript (using some other kind of class or type)?
I tried
type
TBLAH = array[1..1] of PBLAH;
or
type
TBLAH = array[1..1] of ^BLAH;
or
type
TBLAH = array[1..1] of BLAH;
and then
fsGlobalUnit.AddType('TBLAH',fvtArray);
but I get an access violation when I try to use the TBLAH ->
var
a,b: tblah;
begin
a[1]:=b[1];
end.
----
Thanks.
Comments