Truble with Clear()-procedure

Truble with Clear()-procedure - Mensajes

#1 Publicado: 23/3/2020 14:15:47
manolo

manolo

8 me gusta en 9 mensajes.

Grupo: User

Hello,

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

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Pretty mystic ?

Clear.PNG
#3 Publicado: 23/3/2020 16:15:15
manolo

manolo

8 me gusta en 9 mensajes.

Grupo: User

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 23/3/2020 17:00:11
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: User

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

manolo

8 me gusta en 9 mensajes.

Grupo: User

Blatt1.sm (2,63 KiB) descargado 1157 vez(es).
#7 Publicado: 23/3/2020 19:14:44
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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) descargado 1178 vez(es).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#8 Publicado: 23/3/2020 20:42:37
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Can you post your .sm file?


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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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
  • Nuevos mensajes
  • Sin mensajes nuevos