Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
6
Task/Memory-allocation/Lingo/memory-allocation.lingo
Normal file
6
Task/Memory-allocation/Lingo/memory-allocation.lingo
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- Create a ByteArray of 100 Kb (pre-filled with 0 bytes)
|
||||
ba = byteArray(102400)
|
||||
|
||||
-- Lingo uses garbage-collection, so allocated memory is released when no more references exist.
|
||||
-- For the above variable ba, this can be achieved by calling:
|
||||
ba = VOID
|
||||
Loading…
Add table
Add a link
Reference in a new issue