Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
#include <flow.h>
|
||||
#import lib/input.bas.lib
|
||||
#include include/flow-input.h
|
||||
|
||||
DEF-MAIN
|
||||
CLR-SCR
|
||||
MSET(nRow, nCol)
|
||||
LOCATE( 2,5 ), PRN("Input size rows :")
|
||||
LOC-COL( 23 ), LET( nRow := ABS(VAL(READ-NUMBER( nRow ) )))
|
||||
LOCATE( 3,5 ), PRN("Input size cols :")
|
||||
LOC-COL( 23 ), LET( nCol := ABS(VAL(READ-NUMBER( nCol ) )))
|
||||
|
||||
COND( IS-NOT-ZERO?( MUL(nRow,nCol) ) )
|
||||
DIM(nRow, nCol) AS-VOID( array )
|
||||
BLK-[1,1], {100} PUT(array)
|
||||
PRNL("\tElement at position 1,1 : ", GET(array) )
|
||||
CLEAR(array) /* destroy array */
|
||||
CEND
|
||||
END
|
||||
SUBRUTINES
|
||||
Loading…
Add table
Add a link
Reference in a new issue