An error at user functions

An error at user functions - Help please! - Messages

#1 Posted: 5/22/2026 4:47:56 PM
Valery Ochkov

Valery Ochkov

66 likes in 682 posts.

Group: User

See the end of the sheet.
iapws-1995.png
iapws-1995.sm (220.46 KiB) downloaded 28 time(s).
Edited 5/22/2026 5:26:14 PM
#2 Posted: 5/23/2026 5:08:54 AM
Alvaro

Alvaro

1,105 likes in 1,778 posts.

Group: User

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

image.png

iapws-1995.sm (220.77 KiB) downloaded 18 time(s).

Best regards.
Alvaro.
2 users liked this post
Valery Ochkov 5/23/2026 8:36:01 AM, Andrey Ivashov 5/23/2026 5:12:56 PM
#3 Posted: 5/23/2026 8:36:34 AM
Valery Ochkov

Valery Ochkov

66 likes in 682 posts.

Group: User

Thanks and why?
#4 Posted: 5/23/2026 11:03:47 AM
overlord

overlord

596 likes in 1,373 posts.

Group: 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 users liked this post
Andrey Ivashov 5/23/2026 11:18:20 AM, sergio 5/23/2026 5:20:38 PM
#5 Posted: 5/23/2026 11:19:15 AM
Andrey Ivashov

Andrey Ivashov

2,318 likes in 4,001 posts.

Group: Super Administrator

Thank you overlord!

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

Best regards.
#6 Posted: 5/23/2026 4:18:22 PM
overlord

overlord

596 likes in 1,373 posts.

Group: 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
  • New Posts
  • No New Posts