Author | Comment |
SWFAN Probe Posted: 29 Jan 2004 12:27 GMT Total Posts: 5 | whats wrong with this line? X->L+M keeps giving me a syntax error with the + |
dysfunction Goliath Posted: 29 Jan 2004 15:05 GMT Total Posts: 122 | Are you trying to store the result of the operation L+M into X? Becasue then your code should look like L+M->X. |
spiral Wraith Posted: 29 Jan 2004 16:09 GMT Total Posts: 958 | dysfunction is correct, you can't store one variable into two, because tehre are infinite possiblities for L and M. The store (->) means put the stuff from the left into the right. The left cannot contain any undefined variables. |
SWFAN Probe Posted: 29 Jan 2004 18:00 GMT Total Posts: 5 | wow... that worked thanks but every other time i do a line like that it always wants the variable 1st.... |
dysfunction Goliath Posted: 30 Jan 2004 10:30 GMT Total Posts: 122 | Actually, you can store into undefined variables on the 83/+, because if you make a reference to an undefined variable, it automaticlly creates that variable with the attributes zero. Note: you can only store INTO undefined variables, you cannot recall data from them, except for the A-Z variables. For example: You can store anything into variable A even if it's undefined, and if you try to perform an operation with undefined variable A, A is created and its content is zero. However, if you try to perform an operation with undefined L1, it will give an error: but you can store something into undefined L1, but any other contents will be zero. |