Arrays and structs kinda work...

This commit is contained in:
Mitchell Plamann
2015-04-06 02:41:11 -04:00
parent 3278bfe6c4
commit be1848a055
4 changed files with 61 additions and 8 deletions

View File

@@ -49,6 +49,6 @@ B0 # return #
00 02 # native count
# native pool
00 01 00 06 # print
00 01 00 09 # printint
00 01 00 10 # print
00 01 00 13 # printint

View File

@@ -65,7 +65,7 @@ exports.testArrays = function(test) {
exports.testStructs = function(test) {
printout = "";
var result = c0vm.execute(parser.parse("structs.c0.bc0"), callbacks, false);
test.ok(printout == "expected result here",
test.ok(printout == "potato chip123",
"structs.c0.bc0 - Did not print to screen correctly, result was " +
printout);
test.done();