ID:114081
 
Not a bug
BYOND Version:484
Operating System:Windows 7 Home Premium 64-bit
Web Browser:Chrome 13.0.782.1
Applies to:Dream Seeker, DM Language
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 forums.
Descriptive Problem Summary:
Grid cells aren't working if you use embedded expressions?
Numbered Steps to Reproduce Problem:
1. create grid that is a flexible list (is-list)
2. output things to grid
3. cut self as it fails
Code Snippet (if applicable) to Reproduce Problem:
        Grid(msg as text)
grids[src] = msg
winset(src,"grid","current-cell=\"1,[grids.Find(src)]\"")
src << output(src,"grid")
winset(src,"grid","current-cell=\"2,[grids.Find(src)]\"")
src << output(msg,"grid")

//OR

Grid(msg as text)
grids[src] = msg
src << output(src,"grid:1,[grids.Find(src)]")
src << output(msg,"grid:2,[grids.Find(src)]")




Expected Results:
output everything correctly.
Actual Results:
outputs onto to active/current cell, I think, or just to 1,1.
Does the problem occur:
Every time? Or how often? All the time.
In other user accounts? Yes.
On other computers? Yes.

When does the problem NOT occur?
...dunno
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
not sure.

Workarounds:
none found.
Alright, I just tested it with "Is a flexible list of entries" turned off and columns x rows to 0x0. That fixes the issue with not outputting correctly.
The is-list option means you can't use two columns and N rows.