print to console?
Posted: Fri Dec 10, 2010 10:04 am
Hi, I'm new to love2d. I use pygame, just want to see how pygame stacks up.
Is there a way to print to console on Mac OS X:
This results in:
Is there an alternative to printing to console (aside from writing to a file and using tail -f)?
Edit: I'm an idiot. It's print(), not write(). Never take forum snippets as gospel.
Is there a way to print to console on Mac OS X:
Code: Select all
write("hello world!")
Code: Select all
Error: [string "main.lua"]:7: attempt to call global 'write' (a nil value)
Edit: I'm an idiot. It's print(), not write(). Never take forum snippets as gospel.