ClrHome
Input "(",A
ClrHome
Input "("+toString(A)+", ",B
ClrHome
Disp "("+toString(A)+", "+toString(B)+")"
Input "(",C
ClrHome
Disp "("+toString(A)+", "+toString(B)+")"
Input "("+toString(C)+", ",D
ClrHome
Disp "("+toString(A)+", "+toString(B)+")"
Disp "("+toString(C)+", "+toString(D)+")"
If A=C
Then
Disp "ILLEGAL INPUT"
Disp "RESTARTING..."
Input "",Z
DelVar Z
prgmLINEEQU
End
{A,C→L₁
{B,D→L₂
LinReg(ax+b)
Disp "Y="+Y₁
So basically, I have assigned an input into A, B, C, and D. I put 1 into A and B, and 2 into C and D, and on the lines
{A,C→L₁
{B,D→L₂
It gives me a data type error (storing matrix to list) on the variables. After trying different ideas for 30 minutes with the people on my discord server, including:
- Close curly bracket (no change)
- Using expr() incase they were strings (data type there, so it is a value)
- A[1] instead of A (syntax error on the brackets)
- [A](1,1) (same thing)
- A(1,1→A (again, syntax)
We're out of ideas so I'm turning here for help. Any ideas?