@verb #1653:"status" this none this rxdo #7165 @program #1653:"status" this none this y = length(this.yes) n = length(this.no) a = length(this.abstain) remaining = length($council.councillors) - y - n - a yna = tostr("There are ", y, " yes votes, ", n, " no votes, and ", a, " abstentions.") if (y - 2 * n >= 2 * remaining) if (remaining == 0) status = "With all votes in, this proposal has passed." else status = tostr("The remaining ", remaining, " votes cannot prevent this proposal from passing.") endif elseif (n - 2 * y >= 2 * remaining) if (remaining == 0) status = "With all votes in, this proposal has failed." else status = tostr("The remaining ", remaining, " votes cannot prevent this proposal from failing.") endif elseif (remaining == 0) status = tostr("With all votes in, this proposal is deadlocked.") else status = tostr("This proposal is open for voting.") endif return {yna, status} "Last modified by igor (#8954) on Mon Aug 26 08:48:46 2002 MDT." .