Execute SNUSP: Difference between revisions

Update to use new numeric escape sequences
(Added link to COBOL page.)
(Update to use new numeric escape sequences)
Line 63:
begin
instructions := split(sourceCode, "\n");
memory := memSize times '\0\;';
 
for key row range instructions do
Line 89:
when {'!'}: instrPtrRow +:= rowDir;
instrPtrColumn +:= columnDir;
when {'?'}: if memory[dataPointer] = '\0\;' then
instrPtrRow +:= rowDir;
instrPtrColumn +:= columnDir;