sannybuilder / dev

Sanny Builder Bug Tracker and Roadmap development
https://sannybuilder.com
49 stars 0 forks source link

BUG: arithmetic operations - no suported #280

Closed MatiDragon-YT closed 1 year ago

MatiDragon-YT commented 1 year ago

SB4 is not compiling operations where it is indicated on the same line that it is an INT or FLOAT operation.

image

x87 commented 1 year ago

This is correct behavior. You can only use int with assignment ('=') https://docs.sannybuilder.com/coding/variables#variable-initialization

x87 commented 1 year ago

In your example last line can be written without int

1@ *= -1
MatiDragon-YT commented 1 year ago

Wait... you're telling me that what I was using was a bug? whaaaaaaaaaat