initialarray allows you to fill an array with the same data.
An example is zeroing an array.
Example:
CODE:int a[900];
initialarray(#a[0], 125);
The first parameter is a pointer to an array, the second is the data that fills the array.
It is allowed to specify the beginning of the array only 0 index, that is, to fill it from the beginning.
An example of filling a two-dimensional array. The rest is similar.
CODE:int a[900][20];
initialarray(#a[0][0], 125);
For char it is allowed to specify both a fill character in 'A' and a numeric code.
CODE:char a[900];
initialarray(#a[0], 'A');
CODE:char a[900];
initialarray(#a[0], 65);
Filling string
CODE:string a[900];
initialarray(#a[0], "Бла бла");
CODE:string a[900];
initialarray(#a[0], "");
----- The Visual Code Editor is Kibor. Creating bots without knowledge of programming.
Learning function for recognizing text.
----- |