Subject: Inscrutable error 2004-03-25 - By Neto
Back > on setEquations > pEquations=[[[#x:2, #k:5],[#x:-1,#k:3],[#a:"p"]], \ --1 > [[#x:-1, k:3],[#x:-3,#k:4], [#a:"s"]], \ --2 > [[#x:1, k:5],[#x:3,#k:-2], [#a:"x"]], \ --3 > [[#x:2, #k:3],[#x:-3,#k:4], [#a:"a"]], \ --4 > [[#x:-2, #k:3],[#x:8,#k:-7], [#a:"x"]], \ --5 > [[#x:3, #k:2],[#x:-2,#k:7], [#a:"y"]], \ --6 > [[#x:-1, #k:4],[#x:-3,#k:8], [#a:"x"]], \ --7 > [[#x:1, #k:7],[#x:4,#k:-5], [#a:"a"]], \ --8 > [[#x:2, #k:5],[#x:-2,#k:7], [#a:"x"]], \ --9 > [[#x-:2, #k:3],[#x:-5,#k:9], [#a:"x"]]] --10 > end
Line breaking is VERY sensitibe. You can't have those comments in there, nor you can have spaces before the line break delimitator:
on setEquations pEquations=[[[#x:2, #k:5],[#x:-1,#k:3],[#a:"p"]],\ [[#x:-1, k:3],[#x:-3,#k:4], [#a:"s"]],\ [[#x:1, k:5],[#x:3,#k:-2], [#a:"x"]],\ [[#x:2, #k:3],[#x:-3,#k:4], [#a:"a"]],\ [[#x:-2, #k:3],[#x:8,#k:-7], [#a:"x"]],\ [[#x:3, #k:2],[#x:-2,#k:7], [#a:"y"]],\ [[#x:-1, #k:4],[#x:-3,#k:8], [#a:"x"]],\ [[#x:1, #k:7],[#x:4,#k:-5], [#a:"a"]],\ [[#x:2, #k:5],[#x:-2,#k:7], [#a:"x"]],\ [[#x:-2, #k:3],[#x:-5,#k:9], [#a:"x"]]]
end
Also, the first item in the last line had an error: [#x-:2, #k:3] It should be: [#x:-2, #k:3]
A quick way to check if your line breaking is working is press the TAB key. It'll autoformat the script, and if any line in your list moves, it's possible it's line break is wrong. Sometimes the autoformat will ident lines with correct line-breaking if your list is enormous, but no error is generated.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|