[Pas2js] how to work with dynamic arrays

Mgr. Janusz Chmiel janusz.chmiel at volny.cz
Sat Oct 17 11:39:35 CEST 2020


Because dynamic arrays are very important, how to work with them.
If I will declare
var
a: array of string;
How could I add several values to this dynamic array?
because a (1) :='ahoj';
do not work.
Even if I would add other type of parentheses instead of ();
Because I need to use some index to fill out The table with given data.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201017/eceda3b0/attachment.htm>


More information about the Pas2js mailing list