ID:2766027
 
Resolved
BYOND Version:514.1577
Operating System:Windows 7 Pro 64-bit
Web Browser:Firefox 96.0
Applies to:Dream Maker
Status: Resolved

This issue has been resolved.
Descriptive Problem Summary:
When attempting to output strings to the standard output, a blank line will output instead.
When outputting the result of calling length(variable_with_a_string_in_it), the result is "0".
And further weird behavior I don't begin to know how to classify.

Code Snippet (if applicable) to Reproduce Problem:
var/test1 = "asdf"
world/New()
spawn(2)
world << test1
world << length(test1)
// This outputs a blank line, and the number Zero.

var/test1 = {"asdf"}
var/test2 = {"asdf"}
world/New()
spawn(2)
world << test1
world << test2
world << length(test1)
world << length(test2)
// This outputs two blank lines, and the number Zero twice.

var/test1 = {"asdf"}
var/test2 = {"asdf"}
world/New()
spawn(2)
world << test1
world << "asdf"
world << length(test1)
world << length(test2)
// This outputs the text "asdf" twice, then the number 4 twice.

var/test1 = {"asdf"}
var/test2 = {"asdf"}
world/New()
spawn(2)
world << test1
world << "----"
world << length(test1)
world << length(test2)
// This outputs a blank line, then the text "----", then the number Zero twice.

I had the same issue, but upgrading to 514.1778 did the trick.
Can you confirm whether or not you can reproduce this on build 1578 (the latest version of 514)?

If so, could you edit your bug report to use the "Other" version and specify 514.1578?
That fixed it. Thank you for the fix, and sorry for the duplicate bug report without first reading the forum more closely.
In response to IainPeregrine
No worries! Glad that fixed it.
Spevacus resolved issue