Handle multiple script tags.
This commit is contained in:
@ -16,11 +16,17 @@ limitations under the License.
|
||||
-->
|
||||
|
||||
<script type="text/forth">
|
||||
: square dup * ;
|
||||
4 square . cr
|
||||
." Starting Tests..." cr
|
||||
</script>
|
||||
<script type="text/forth" src="script_test.fs"></script>
|
||||
<script src="ueforth.js"></script>
|
||||
<script type="text/forth">
|
||||
colors
|
||||
bye
|
||||
." Checking for 123..." cr
|
||||
123 = assert
|
||||
." Checking for foobar..." cr
|
||||
2 foobar 16 = assert
|
||||
." Script Test Passes" cr
|
||||
2 fg ." SUCCESS" cr
|
||||
: halt begin 100000 ms again ;
|
||||
halt
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user