Subject: Inscrutable error 2004-03-25 - By Ian Thomas
Back Phil - line 2, you're missing a # on the first k
Cheers, Ian
> -- --Original Message-- -- > From: dir3d-l-bounces@(protected) > [mailto:dir3d-l-bounces@(protected)] On Behalf Of Phil Gan > Sent: 25 March 2004 12:53 > To: dir3d-l@(protected) > Subject: [Dir3d-l] Inscrutable error > > > Hi all, > > I've been staring at this one for about half an hour so I > decided to put it to the floor. The floor didn't have much to > say so I'm asking you guys. > > I've written the following code to represent a series of > simple linear equations. Director is telling me that a > variable is being used before it has been assigned a value. > Since the only variable I'm using is being assigned a value > as the only function in the handler I'm a little bit confused... > > 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 > > Where: #x represents the 1st order coefficient, #k the zero > order and #a the character representing the variable used. > > E.g. 1: 2p+5=3-p > > Any suggestions gratefully received. > > Phil > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > Dir3d-l mailing list > Dir3d-l@(protected) > http://nuttybar.drama.uga.edu/mailman/listinfo> /dir3d-l >
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|