Removed log from the standard library
This commit is contained in:
@ -2,13 +2,12 @@ import io
|
||||
import mem
|
||||
|
||||
main() {
|
||||
length := 5
|
||||
address := mem.alloc(length)
|
||||
address[0] = 'H'
|
||||
address[1] = 'e'
|
||||
address[2] = 'l'
|
||||
address[3] = 'l'
|
||||
address[4] = 'o'
|
||||
io.write(1, address)
|
||||
mem.free(address)
|
||||
buffer := mem.alloc(5)
|
||||
buffer[0] = 'H'
|
||||
buffer[1] = 'e'
|
||||
buffer[2] = 'l'
|
||||
buffer[3] = 'l'
|
||||
buffer[4] = 'o'
|
||||
io.write(1, buffer)
|
||||
mem.free(buffer)
|
||||
}
|
Reference in New Issue
Block a user