Phase 6: P-Code-Bibliotheken und Linker abschließen, Cross-Buildplan festhalten
This commit is contained in:
17
tests/libraries/portable.bas
Normal file
17
tests/libraries/portable.bas
Normal file
@@ -0,0 +1,17 @@
|
||||
CONST WIDTH=2
|
||||
TYPE Record
|
||||
value AS LONG
|
||||
text AS STRING * 4
|
||||
END TYPE
|
||||
COMMON SHARED shared&
|
||||
DIM SHARED state&
|
||||
DATA 7
|
||||
SUB Work(a&(), r AS Record, n&)
|
||||
state&=state&+1
|
||||
shared&=shared&+1
|
||||
READ a&(1)
|
||||
r.value=r.value+n&
|
||||
r.text="TB"
|
||||
n&=9
|
||||
PRINT state&
|
||||
END SUB
|
||||
BIN
tests/libraries/portable.tbl
Normal file
BIN
tests/libraries/portable.tbl
Normal file
Binary file not shown.
Reference in New Issue
Block a user