mirror of
https://github.com/ArnoldSmith86/virtualtabletop.git
synced 2026-03-02 22:57:02 -05:00
COMPUTE does not work with operand3 #71
Labels
No labels
PCIO compatibility
Validator
automated testing
bug
documentation
duplicate
editor
enhancement
enhancement
library
library
maintenance
needs legacy server
pile related
reported client crash
routine operations
user interface
widget properties
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/virtualtabletop#71
Loading…
Add table
Add a link
Reference in a new issue
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?
Originally created by @96LawDawg on GitHub (Jan 15, 2021).
For a simple addition operation, I tried to follow the sample on the wiki.
{
"func": "COMPUTE",
"operation": "+",
"operand1": 2,
"operand2": 3,
"operand3": 3,
"variable": "result"
}
That only adds operand1 and operand2. The result is 5 when it should be 8.
@larkob commented on GitHub (Jan 16, 2021):
The add operation only has two operands, so operand3 cannot be used. I'll try to make it more obvious in the documentation, but this is not a bug. Only
sliceandsubstruse operand3.I've also changed the completely misleading example.
@larkob commented on GitHub (Jan 16, 2021):
@96LawDawg Please let me know if the documentation is better now and close the issue once everything is addressed.
@96LawDawg commented on GitHub (Jan 16, 2021):
That clears it up. I was wondering about operand3 when I was putting the first tutorial together, but never got around to testing it. Thanks. Issue closed.