You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now, the only way to get an array is to apply ReadLn to it (which is horribly incorrect). The correct solution would be to use the SetLength function. It is possible to translate SetLength(xs, n) into take n (xs ++ repeat undefined).
The text was updated successfully, but these errors were encountered:
As of now, the only way to get an array is to apply
ReadLn
to it (which is horribly incorrect). The correct solution would be to use theSetLength
function. It is possible to translateSetLength(xs, n)
intotake n (xs ++ repeat undefined)
.The text was updated successfully, but these errors were encountered: