Skip to content

Commit 3201719

Browse files
Shank write fix
1 parent 3254987 commit 3201719

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "Launch Shank",
1010
"request": "launch",
1111
"mainClass": "Shank",
12-
"projectName": "Shank",
12+
"projectName": "311_5d4d3e42",
1313
"args": "tests/test.shank"
1414
},
1515
{

src/Write.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ public Write(String name, ArrayList<VariableNode> arguments, boolean varadic) {
99
public void execute(ArrayList<InterpreterDataType> arguments) throws Exception {
1010
// IDT = interpreter data type
1111
// write out IDT to console
12+
System.out.print("Write: \n");
1213
for (InterpreterDataType idt : arguments) {
1314
if (idt.toString() != null) {
1415
System.out.print(idt);
16+
System.out.print("\n");
1517
} else {
1618
throw new Exception("Error: write: IDT is null");
1719
}

0 commit comments

Comments
 (0)