This language bar is your friend. Select your favorite languages!

Idiom #207 allocate a list that is automatically deallocated

Allocate a list / array a containing n elements (n assumed to be too large for a stack) that is automatically deallocated when the program exits the scope it is declared in.

#Edit dateEdit SummaryEditor
👁 Δ 6 2019-11-28, 23:56 New Ruby implementation by user [steenslag] steenslag
👁 Δ 5 2019-11-04, 18:59 New Python implementation by user [Oldboy] Oldboy
👁 Δ 4 2019-10-02, 15:47 New Pascal implementation by user [Bart] Bart
👁 Δ 3 2019-09-30, 12:55 New Perl implementation by user [daxim] daxim
👁 Δ 2 2019-09-30, 05:19 [Fortran] added declaration tkoenig
1 2019-09-30, 05:19 Idiom creation by user [tkoenig] tkoenig