Skip to main content
itch.io
Browse Games
Game Jams
Upload Game
Developer Logs
Community
Log in
Register
Indie game store
Free games
Fun games
Horror games
Game development
Assets
Comics
Sales
Bundles
Jobs
Tags
Game Engines
Adventuron CaveJam
»
Community
Viewing post in
How do I do simple arithmetic?
↑ View parent post
Adventuron
6 years ago
// Use expression form to calculate an integer result
// Floating point not supported by Adventuron, only integer mathematics
// The statement below sets c to be the value of "a" multiplied by the value of "b"
: set_integer var = "c" {(a * b)}