ID:176587
 
I need help making the world.log variable be defined to 'debug.txt'.
Drafonis wrote:
I need help making the world.log variable be defined to 'debug.txt'.

world.log = file("mylog.txt")

Then to output to it:

world.log << "Uh oh."

-<font color="#ffff00">Nova</font>
In response to Nova2000
I did that, now it outputs the error: Inf.dm:7:error:log:may not be set at compile-time
In response to Drafonis
Then set it in world/New() instead.