ID:111018
 
Not a bug
BYOND Version:479
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 10.0.648.151
Applies to:Dream Maker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND Developer forums.
Descriptive Problem Summary:
I'm getting the following error when I try to create a world/status() proc: status(t as text) // Sets the world status, to include version number
Numbered Steps to Reproduce Problem:
Attempt to compile the snippet
Code Snippet (if applicable) to Reproduce Problem:
world
proc
status(t as text) // Sets the world status, to include version number
status = "V[version] | [t]"

New()
..()
status("Waiting for players.")


Expected Results:
Allowed to create a status() proc
Actual Results:
Compile error
Does the problem occur:
Every time? Or how often?
Every time
In other games?
Yes
In other user accounts?
Untested
On other computers?
Untested

When does the problem NOT occur?
Never

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
Untested

Workarounds:
Rename the proc.
Also of note, out of curiosity I renamed the proc, but compiled anyway. I get the following error when calling world.status() without defining it myself: Main.dm:29:error: status: bad proc
world.status is already a var; defining a proc with the same name as a var is semantically iffy. It probably works okay only if both of them are soft-coded (because I've done it in 4K projects).
Alright, thanks. I thought something along those lines, but thought I'd let you know, just in case. :)