An error at user functions

An error at user functions - Help please! - Messaggi

#1 Pubblicato: 22/05/2026 16:47:56
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

See the end of the sheet.
iapws-1995.png
iapws-1995.sm (220,46 KiB) scaricato 502 volta(e).
Modificato 22/05/2026 17:26:14
#2 Pubblicato: 23/05/2026 05:08:54
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi. Use line(#) for prevent the evaluation.

image.png

iapws-1995.sm (220,77 KiB) scaricato 508 volta(e).

Best regards.
Alvaro.
2 utenti hanno apprezzato questo post
Valery Ochkov 23/05/2026 08:36:01, Andrey Ivashov 23/05/2026 17:12:56
#3 Pubblicato: 23/05/2026 08:36:34
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

Thanks and why?
#4 Pubblicato: 23/05/2026 11:03:47
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

This happens because your i is not empty.
Try to clear it or use something different for sum iteration.
j would be appropriate.

Regards

2026-05-23_13-59.png
2 utenti hanno apprezzato questo post
Andrey Ivashov 23/05/2026 11:18:20, sergio 23/05/2026 17:20:38
#5 Pubblicato: 23/05/2026 11:19:15
Andrey Ivashov

Andrey Ivashov

2.343 apprezzamenti in 4.056 post.

Gruppo: Super Administrator

Thank you overlord!

Another way is to use line() at the rhs:
image.png

Best regards.
#6 Pubblicato: 23/05/2026 16:18:22
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

Don't know if this is a bug or limitation.
But when formula assigned to variable or used directly, it can be calculated.
When assigned to a function, it can't be parsed.

Regards

2026-05-23_19-16.png
  • Nuovi post
  • Nessun nuovo post