bud_wis_er_420
2013-02-19 13:34:48
How do I get this to work I keep getting a Type Type Mismatch error. I need the ItemArray to stay a TVariantArray or I could make it a TStringArray but I will need to change it to a TVariantArray later for use with the WaitFuncEx() Function. I'm new to TVariantArray's but I found two tuts on them and from what I gathered this should work.
Edit:
Sry bout the Title, Don't know what happend. Was suppose to say "TVariantArray problems"
EndEdit
Edit:
Sry bout the Title, Don't know what happend. Was suppose to say "TVariantArray problems"
EndEdit
program new;
{$DEFINE SMART}
{$I SRL/SRL.Simba}
type
MSObject = record
ItemArray: TVariantArray;
end;
var
TSAItem: TStringArray;
Item: MSObject;
procedure LoadObj;
begin
with Item do
begin
ItemArray := ['shark', 'aw sha', 'hark'];
end;
end;
begin
SetUpSRL;
LoadObj;
TSAItem := Item.ItemArray;
IsUpTextMultiCustom(TSAItem)
End.