File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed
samples/distro-examples/tests Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ 2015-10-20
2+ Fix LET when assigning a value to a MAP/ARRAY field
3+
142015-09-15
25 SDL Update PEN(3) to work more like FLTK
36 Fix display output before PEN
Original file line number Diff line number Diff line change @@ -111,3 +111,28 @@ next i
111111inner.foo= "bar"
112112m.b << inner
113113s = " " + m.b( 0 ).foo
114+
115+ rem ------------------------------------
116+
117+ dim bar.x( 2 ), foo( 2 )
118+ bar.x( 0 ).barx = 1024
119+ foo( 0 ).fooY = 999
120+ if (bar.x( 0 ).barx <> 1024 ) then
121+ throw "Error 1"
122+ fi
123+
124+ if (foo( 0 ).fooY <> 999 ) then
125+ throw "Error 2"
126+ fi
127+
128+ if ( 1024 <> bar.x( 0 ).barx) then
129+ throw "Error 3"
130+ fi
131+
132+ if ( 999 <> foo( 0 ).fooY) then
133+ throw "Error 4"
134+ fi
135+
136+ bar.x( 1 ).barx=bar.x( 0 ).barx+ 976
137+ bar.x( 1 ).barx/= 1000
138+ if bar.x( 1 ).barx <> 2 then throw "Yuck, I can't read red print on black background."
Original file line number Diff line number Diff line change @@ -1701,7 +1701,9 @@ char *comp_array_params(char *src, char exitChar) {
17011701 }
17021702 break ;
17031703 };
1704- p ++ ;
1704+ if (* p != exitChar ) {
1705+ p ++ ;
1706+ }
17051707 if (* p == exitChar ) {
17061708 p ++ ;
17071709 break ;
You can’t perform that action at this time.
0 commit comments