Anonymous user
Memory allocation: Difference between revisions
→{{header|SNOBOL4}}
No edit summary |
|||
Line 1,070:
t = Thingamajig.allocate</lang>
=={{header|Scala}} The same as Java applies to Scala, because the VM will take of memory allocation by means of the Memory Manager. It's not a programmer concern.
=={{header|SNOBOL4}}==
In SNOBOL4, simple data values are just created and assigned to variables. Here, three separate strings are concatenated and stored as a newly allocated string variable:
|