Thank you for the answer. Unfortunately the link is not working
can you give me any other link?
Their site is very slow to respond.
Here is the HyperNext based on their text - it gives the same answer for their problem.
Sorry I don't have time to tidy it up etc but their page should clarify it.
The script goes into a button and the answers for x and y appear in fields 1 and 2 respectively.
Local a,b,c,d,e,f,x,y
Local t1,t2,t3,t4
@'ax+by=c equation format will be like this
@'dx+ey=f
@x = (c * e - b * f) / (a * e - b * d)
@y = (a * f - c * d) / (a * e - b * d)
Put 1 into a
Put 1 into b
Put 3 into c
Put 2 into d
Put 3 into e
Put 8 into f
@ calc c
@x = (c * e - b * f) / (a * e - b * d)
Put c into t1
Multiply t1 by e
Put b into t2
Multiply t2 by f
Subtract t2 from t1
Put a into t3
Multiply t3 by e
Put b into t4
Multiply t4 by d
Subtract t4 from t3
Put t1 into x
Divide x by t3
@ calc y
@y = (a * f - c * d) / (a * e - b * d)
Put a into t1
Multiply t1 by f
Put c into t2
Multiply t2 by d
Subtract t2 from t1
Put a into t3
Multiply t3 by e
Put b into t4
Multiply t4 by d
Subtract t4 from t3
Put t1 into y
Divide y by t3
Put x into field 1
Put y into field 2