mirror of
https://github.com/hanzoai/numscript.git
synced 2026-10-30 18:26:57 +00:00
* feat: feature flag syntax * feat: change syntax * feat: reject invalid features * feat: add static check of unknown features * feat: more defensive args handling * fix: fix typo
15 lines
247 B
Plaintext
15 lines
247 B
Plaintext
vars {
|
|
monetary $jon_balance = balance(@jon, EUR/2)
|
|
|
|
// The amount to send
|
|
monetary $amt
|
|
|
|
// The end balance we don't want to exceed
|
|
monetary $limit
|
|
}
|
|
|
|
send $amt (
|
|
source = max $limit - $jon_balance from @alice
|
|
destination = @jon
|
|
)
|