Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Memory-allocation/FreeBASIC/memory-allocation-2.basic
Normal file
10
Task/Memory-allocation/FreeBASIC/memory-allocation-2.basic
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Dim As Integer size = 12345
|
||||
Dim As Integer mem = size-1
|
||||
|
||||
Sub Stack(s As Integer)
|
||||
Dim As Integer mem = s-1
|
||||
Print s; " bytes of stack allocated at " ; mem
|
||||
End Sub
|
||||
|
||||
Stack(size)
|
||||
Print size; " bytes of stack allocated at " ; mem
|
||||
Loading…
Add table
Add a link
Reference in a new issue