SRL Archive - Help and Support

TStringArray?


gerauchert

2007-08-19 11:15:03

Ive never seen this before, what is a TStringArray and how would i apply it to the new SRLPlayerForm launcher?

SRLPlayerForm(ShowForm: Boolean; Booleans, Integers, Strings, Extendeds: TStringArray);

Killerdou

2007-08-19 11:19:35

tstringarray is an array of string so if i would be a tstringarray:
i[0] := 'something';
i[1] := 'something else';
i[2] := 'etc…';

nielsie95

2007-08-19 11:23:08

You can run it like this:

SetupSRL;
SRLPlayerForm(['Hihi', 'Muhaha!'], ['Beautiful'], ['Lovely'], ['It works.', '']);

Change the words with the vars you need.

gerauchert

2007-08-19 11:26:36

tyvm!

got it working but the form is kind of a dud lol

ill wait till full version of SRL is out till i use it lol