how to set an array from -100 to 100? numbers should go in order, without a random?
Pascal allows you to specify a range of indices for an array, so you can do this:
A : array [-100..100] of integer
And fill in a simple loop:
For i:=-100 to 100 do a[i] := i;
Ideone working example
Source: https://ru.stackoverflow.com/questions/598773/More articles:Parse List What should be added to count the number of seats sold?How to specify relative path from jarHow to add data-attr (data-type) symfony form specifically in optionFancybox does not work on some pages of the site (Bitrix) [closed]How to make an inverted parallelogram with CSS?Remove duplicates by two fieldsText Formatting in WebViewHow to hide info messages when navigating the menu?JSON.parse: unexpected end of data I don’t understand whyAll Articles