Reformat Script in JSL Editor is very helpful to get the code with a formatted structure.
Often it helps to find bugs in the code and to keep the overview.
But sometimes, it's the opposite.
Is there a way to protect code in a specific area from being shuffled by Reformat Script?
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Recode Column(
dt:name,
{Map Value(
_rcOrig,
{"ALFRED", "A",
"ALICE", "A",
"AMY", "A",
"BARBARA", "A",
"CAROL", "A",
"CHRIS", "A",
"CLAY", "A",
"DANNY", "A",
"DAVID", "A",
"EDWARD", "A",
"ELIZABETH", "B",
"FREDERICK", "B",
"HENRY", "B",
"JACLYN", //missing
"JAMES", "B",
"JANE", "B",
"JEFFREY","B",
"JOE","B",
"JOHN", "B",
"JUDY", "B",
"KATIE", "B"
},
Unmatched( _rcNow )
)},
Update Properties( 1 ),
Target Column( :name )
);