Skip to main content
itch.io
Browse Games
Game Jams
Upload Game
Winter Sale 2024
Developer Logs
Community
Log in
Register
On Sale:
Games
Assets
Tools
Tabletop
Comics
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
5 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)}