formula
$balance = var['balance_' || trigger.address] + trigger.output[[asset=$asset]];
require($balance, "you have no deposited balance and cannot withdraw");
$amount = trigger.data.amount OTHERWISE $balance;
require($amount <= $balance, "your balance is only " || $balance);
foreach($names, 10, $name => {
require(!var['choice_' || trigger.address || '_' || $name], "support for " || $name || " not removed yet");
});
failed: found 11 elements in object, only up to 10 allowed