mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-11-15 02:23:43 +01:00
3f01d854f3
Version:1.1.34
20 lines
403 B
Forth
20 lines
403 B
Forth
BEGIN_PROVIDER [ integer, d1 ]
|
|
&BEGIN_PROVIDER [ integer, d2 ]
|
|
&BEGIN_PROVIDER [ integer, d3 ]
|
|
&BEGIN_PROVIDER [ integer, d4 ]
|
|
&BEGIN_PROVIDER [ integer, d5 ]
|
|
|
|
BEGIN_SHELL [ /usr/bin/python ]
|
|
for i in range(1,6):
|
|
print " print *, 'd%d'"%(i,)
|
|
print " read(*,*) d%d"%(i,)
|
|
if i > 1:
|
|
print " ASSERT ( d%d > d%d )"%(i,i-1)
|
|
END_SHELL
|
|
|
|
print *, &
|
|
'ceci est un ' &
|
|
//'test'
|
|
END_PROVIDER
|
|
|