Revision: 1788
Author: jsuijs
Date: Sun Mar 14 16:02:57 2010
Log: samples samples..
http://code.google.com/p/jallib/source/detail?r=1788
Modified:
/trunk/test/jal/test_startersguide.jal
=======================================
--- /trunk/test/jal/test_startersguide.jal Sat Mar 13 13:16:01 2010
+++ /trunk/test/jal/test_startersguide.jal Sun Mar 14 16:02:57 2010
@@ -117,6 +117,7 @@
-- ----------------------------
alpha = 1
+; -- lines below are commented to keep the jallib buildbot satisfied.
; if (Alpha > 0) then
; Alpha = Alpha + 1
; end if
@@ -132,16 +133,18 @@
-- ----------------------------
charlie = 0x12345678
- alpha = charlie
+ alpha = charlie -- this gives a truncation warning...
alpha = byte(charlie)
print_byte_hex(sg_output, alpha)
sg_output= " "
+ print_byte_hex(sg_output, echo[0])
+ sg_output= " "
print_byte_hex(sg_output, echo[3])
-- ----------------------------
- test_header(88) -- print header
+ test_header(3) -- print header
-- ----------------------------
alpha = 0
@@ -150,7 +153,7 @@
print_byte_hex(sg_output, alpha)
-- ----------------------------
- test_header(3) -- print header
+ test_header(4) -- print header
-- ----------------------------
pv = 7
@@ -161,7 +164,7 @@
sg_output = ")"
-- ----------------------------
- test_header(4) -- print header
+ test_header(5) -- print header
-- ----------------------------
alpha = 7
@@ -169,7 +172,7 @@
print_byte_dec(sg_output, alpha)
-- ----------------------------
- test_header(5) -- print header
+ test_header(6) -- print header
-- ----------------------------
x = 2
@@ -194,7 +197,7 @@
print_byte_dec(sg_output, x)
-- ----------------------------
- test_header(6) -- print header
+ test_header(7) -- print header
-- ----------------------------
x = 14
@@ -215,7 +218,7 @@
print_byte_dec(sg_output, x)
-- ----------------------------
- test_header(7) -- print header
+ test_header(8) -- print header
-- ----------------------------
x = 0
@@ -228,7 +231,7 @@
end loop
-- ----------------------------
- test_header(8) -- print header
+ test_header(9) -- print header
-- ----------------------------
for 7 loop
@@ -236,7 +239,7 @@
end loop
-- ----------------------------
- test_header(9) -- print header
+ test_header(10) -- print header
-- ----------------------------
var byte lc
@@ -246,7 +249,7 @@
end loop
-- ----------------------------
- test_header(10) -- print header
+ test_header(11) -- print header
-- ----------------------------
var byte x = 0
@@ -256,7 +259,7 @@
until (x == 0)
-- ----------------------------
- test_header(11) -- print header
+ test_header(12) -- print header
-- ----------------------------
x = 0
@@ -266,7 +269,7 @@
end loop
-- ----------------------------
- test_header(12) -- print header
+ test_header(13) -- print header
-- ----------------------------
x = 4
@@ -294,39 +297,42 @@
; 1
; ------------------------------
; Test nr: 2
-; 78 00
+; 78 78 12
; ------------------------------
; Test nr: 3
-; 16 (8)
+; 04
; ------------------------------
; Test nr: 4
-; 5
+; 16 (8)
; ------------------------------
; Test nr: 5
-; 8
+; 6
; ------------------------------
; Test nr: 6
-; 7
+; 8
; ------------------------------
; Test nr: 7
-; !!!!!!!!!!!
+; 7
; ------------------------------
; Test nr: 8
-; @@@@@@@
+; !!!!!!!!!!!
; ------------------------------
; Test nr: 9
-; 0 1 2 3 4 5 6
+; @@@@@@@
; ------------------------------
; Test nr: 10
+; 0 1 2 3 4 5 6
+; ------------------------------
+; Test nr: 11
;
################################################################################
;
################################################################################
;
################################################################################
; ################
; ------------------------------
-; Test nr: 11
+; Test nr: 12
;
; ------------------------------
-; Test nr: 12
+; Test nr: 13
; %%%%
; ------------------------------
;
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.