Truble with Clear()-procedure

Truble with Clear()-procedure - Messages

#1 Posted: 3/23/2020 2:15:47 PM
manolo

manolo

8 likes in 9 posts.

Group: User

Hello,

The following input;
T:=200 K
Clear(T)=1
T=200 K

does not work as expected. Why?
#2 Posted: 3/23/2020 3:51:32 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Pretty mystic ?

Clear.PNG
#3 Posted: 3/23/2020 4:15:15 PM
manolo

manolo

8 likes in 9 posts.

Group: User

Thank you, but:
T.1:=200 K
Clear(T.1)=1
T.1=200 K
will not work...
#4 Posted: 3/23/2020 4:53:02 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Thank you, but:
T.1:=200 K
Clear(T.1)=1
T.1=200 K
will not work...


Just reproduce the image posted.
#5 Posted: 3/23/2020 5:00:11 PM
Arie

Arie

93 likes in 285 posts.

Group: User

Can you post your .sm file?
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#6 Posted: 3/23/2020 5:49:58 PM
manolo

manolo

8 likes in 9 posts.

Group: User

Blatt1.sm (2 KiB) downloaded 30 time(s).
#7 Posted: 3/23/2020 7:14:44 PM
Arie

Arie

93 likes in 285 posts.

Group: User

You've not cleared the right variable.
You entered "Clear(T1)" instead of "Clear(T.1)"
Annotation 2020-03-23 181257.png

Blatt1.sm (3 KiB) downloaded 25 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#8 Posted: 3/23/2020 8:42:37 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Can you post your .sm file?


YES: needed. 'T' may represent a previous matrix,
or some otherwise argument ... ?
#9 Posted: 3/24/2020 8:41:52 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

In this demo: Sym(f(x,y),L,H,N)
is my universal image algo creator, based internally on 'U'
which 'U' is set to '0' from any other existing creation,
whether vector/matrix.

Clear-in-Algo.PNG
  • New Posts New Posts
  • No New Posts No New Posts