diff --git a/index.html b/index.html index 41b27f9..5892978 100644 --- a/index.html +++ b/index.html @@ -132,6 +132,8 @@ By Joshua Bell + + Automatic-Numbering @@ -154,6 +156,8 @@ By Joshua Bell
  • Quite BASIC - a similar project aimed at teaching programming + +
    diff --git a/index.js b/index.js index 8a340e9..069cc31 100644 --- a/index.js +++ b/index.js @@ -114,7 +114,12 @@ window.addEventListener('DOMContentLoaded', function() { try { var source = getSource() - source = AutomaticNumbering(source) + + $('output').innerText = '' + if ($('#autonum').checked) { + source = AutomaticNumbering(source) + $('output').innerText = source + } program = basic.compile(source); } catch (e) {