Truble with Clear()-procedure

Truble with Clear()-procedure - Messages

#1 Posted: 2020/3/23 14:15:47
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: 2020/3/23 15:51:32
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Pretty mystic ?

Clear.PNG
#3 Posted: 2020/3/23 16:15:15
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: 2020/3/23 16:53:02
Jean Giraud

Jean Giraud

983 likes in 6,866 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: 2020/3/23 17:00:11
Arie

Arie

94 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: 2020/3/23 17:49:58
manolo

manolo

8 likes in 9 posts.

Group: User

Blatt1.sm (2.63 KiB) downloaded 587 time(s).
#7 Posted: 2020/3/23 19:14:44
Arie

Arie

94 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.01 KiB) downloaded 584 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#8 Posted: 2020/3/23 20:42:37
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Can you post your .sm file?


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

Jean Giraud

983 likes in 6,866 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
  • No New Posts