March 2014 update
This commit is contained in:
parent
09687c4926
commit
a25938f123
1846 changed files with 21876 additions and 5203 deletions
|
|
@ -13,7 +13,7 @@ const proc: snusp (in string: sourceCode, in integer: memSize, inout file: input
|
|||
var integer: row is 0;
|
||||
begin
|
||||
instructions := split(sourceCode, "\n");
|
||||
memory := memSize times '\0\';
|
||||
memory := memSize times '\0;';
|
||||
|
||||
for key row range instructions do
|
||||
if pos(instructions[row], '$') <> 0 then
|
||||
|
|
@ -39,7 +39,7 @@ const proc: snusp (in string: sourceCode, in integer: memSize, inout file: input
|
|||
columnDir := helpDir;
|
||||
when {'!'}: instrPtrRow +:= rowDir;
|
||||
instrPtrColumn +:= columnDir;
|
||||
when {'?'}: if memory[dataPointer] = '\0\' then
|
||||
when {'?'}: if memory[dataPointer] = '\0;' then
|
||||
instrPtrRow +:= rowDir;
|
||||
instrPtrColumn +:= columnDir;
|
||||
end if;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue