You are not logged in.
Pages: 1
I find that while I can use variable arrays in PascalScript, the same cannot be said for an array of constants, be they integers or chars.
Is this a limitation of PascalScript?
Offline
Unfortunately, constant arrays are not supported in PascalScript.
However, you could define your array as a string with delimiters, and then split it, like so:
var
Words: TWideStringArray;
begin
Words := WideSplitString('The quick brown fox jumps over the lazy dog', ' ');
FileName := WideJoinStrings(Words, ',');
end.
Reference:
https://www.den4b.com/wiki/ReNamer:Pasc … :Functions
Offline
Thanks all the same, I just wanted to make my code more efficient, but what I've got works fine at the moment.
Offline
Pages: 1