Skip to content

Commit

Permalink
Merge pull request #792 from fesch/bugfix
Browse files Browse the repository at this point in the history
Version 3.30-03 candidate (Bugfixes)
  • Loading branch information
fesch authored Dec 3, 2019
2 parents 33cf8c4 + c04ddc4 commit 9e58bf1
Show file tree
Hide file tree
Showing 90 changed files with 29,103 additions and 1,609 deletions.
4 changes: 2 additions & 2 deletions buildapp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
name="Structorizer"
displayname="Structorizer"
identifier="lu.fisch.Structorizer"
shortversion="3.30-02"
version="3.30-02"
shortversion="3.30-03"
version="3.30-03"
icon="icons/Structorizer.icns"
mainclassname="Structorizer"
copyright="Bob Fisch"
Expand Down
Binary file added samples/arrz/ELIZA_2.3.arrz
Binary file not shown.
564 changes: 564 additions & 0 deletions samples/export/BASIC0/ELIZA_2.3.bas

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions samples/export/BASIC0/SORTING_TEST_MAIN.bas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
20 REM to allow performance comparison via execution counting ("Collect Runtime Data" should
30 REM sensibly be switched on).
40 REM Requested input data are: Number of elements (size) and filing mode.
50 REM Generated by Structorizer 3.30-02
50 REM Generated by Structorizer 3.30-03
60 REM
70 REM Copyright (C) 2019-10-02 Kay Gürtzig
80 REM License: GPLv3-link
Expand All @@ -29,7 +29,7 @@
290 LET values1(i) = -i
300 END SELECT
310 NEXT i
320 REM Kopiere das Array für exakte Vergleichbarkeit
320 REM Copy the array for exact comparability
330 FOR i = 0 TO elementCount-1
340 LET values2(i) = values1(i)
350 LET values3(i) = values1(i)
Expand Down Expand Up @@ -58,9 +58,9 @@
580 REM ================== END PARALLEL SECTION ==================
590 REM ==========================================================
600
610 LET CALL ok1 = testSorted(values1)
620 LET CALL ok2 = testSorted(values2)
630 LET CALL ok3 = testSorted(values3)
610 LET ok1 = testSorted(values1)
620 LET ok2 = testSorted(values2)
630 LET ok3 = testSorted(values3)
640 IF NOT ok1 OR NOT ok2 OR NOT ok3 THEN
650 FOR i = 0 TO elementCount-1
660 IF values1(i) <> values2(i) OR values1(i) <> values3(i) THEN
Expand Down Expand Up @@ -212,7 +212,7 @@
2120 LET p = random(stop-start) + start
2130 REM Partition the array into smaller and greater elements
2140 REM Get the resulting (and final) position of the pivot element
2150 LET CALL p = partition(values, start, stop, p)
2150 LET p = partition(values, start, stop, p)
2160 REM Sort subsequances separately and independently ...
2170
2180 REM ==========================================================
Expand Down
Loading

0 comments on commit 9e58bf1

Please sign in to comment.