bug: atempt to perform arithmetic on a table value #109
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
I'm trying to run a code snippet shared in https://basalt.madefor.cc/#/objects/Frame
But it throws an error
dynamicValues.lua:51: attempt to preform arithmetic on a table valueTo Reproduce
Steps to reproduce the behavior:
BasaltasbasaltExpected behavior
Example code should work
Screenshots
Additional context
Checklist
[X] I am running the latest version.
Tick the box if you are running the latest version!
I think it's a typo on the wiki, or something changed from older versions. The dynamic values like
parent.win the code should not be surrounded in braces{}. Remove all the braces around the dynamic values you're using.Yeah you are right, it was a typo in the wiki. But it caused a lot of trouble to me, i spent around 3 hours to figure out whats wrong 😄 .