Proposal: Did you take into Account this Factor?
Times out 4-0. Enacted by Brendan. Note that as the portion delineated under “surround this” does not exist in the MCP, the related instructions on commenting do nothing. Also, I’m taking “if statement” here to mean “code starting with an ‘if’ and inclusive of the code between its curly braces,” as otherwise we’re just going to end up with more busywork syntax-cleanup proposals. CfJ if you disagree.
Adminned at 06 Oct 2018 15:12:14 UTC
Create a rule named “Formatting”:
curly quotes are equivalent to strait quotes, and curly quotes in the ruleset may be changed to strait quotes by any program at any time.
In the Master Control Program, surround:
var GNDT = `__GNDT`;
accessCode = “__INPUT”
var MCPOutput = “”;
var GNDTArray = [];
With:
// GLOBAL VARIABLE SECTION
one line above it and
//END GLOBAL VARIABLE SECTION
one line below it.
create a function at the bottom of the Master Control Program:
function runAccessCodes(){
//accessCode
}
in the Master Control Program, move all if statements starting with:
if (accessCode ==
ignoring whitespace, to immediately beneath ‘//accessCode’
insert
runAccessCodes();
in the location of the first if statement moved by this proposal
Kevan: he/him
How much do we care that, taken at the literal character level, the first step of this would do nothing because the MCP as written in the ruleset uses straight quotemarks rather than curly ones?
(I guess it should be an explicit rule that we don’t care about this kind of thing.)