YAPC::EU 2018 Glasgow Update!

This commit is contained in:
Ingy döt Net 2018-08-17 15:15:24 +01:00
parent 22f33d4004
commit 4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions

View file

@ -0,0 +1,10 @@
'BEGIN' 'COMMENT' Loops DoWhile - Algol60 - 22/06/2018;
'INTEGER' I;
I:=0;
LOOP:
I:=I+1;
'IF' I=I'/'6*6 'THEN' 'GOTO' LAB;
OUTINTEGER(1,I);
'GOTO' LOOP;
LAB:
'END'

View file

@ -0,0 +1,7 @@
IVALUE = 0
10 CONTINUE
IVALUE=IVALUE+1
WRITE(6,301) IVALUE
301 FORMAT(I5)
IF(MOD(IVALUE,6).NE.0) GOTO 10
END

View file

@ -0,0 +1,7 @@
IVALUE = 0
10 IVALUE=IVALUE+1
WRITE 301,IVALUE
301 FORMAT(I5)
IF(IVALUE-IVALUE/6*6) 10,20,10
20 STOP
END

View file

@ -4,7 +4,7 @@ julia> i = 0
julia> while true
println(i)
i += 1
i % 6 == 0 || break
i % 6 == 0 && break
end
0
1

View file

@ -1,7 +1,5 @@
REBOL [
Title: "Loop/While"
Author: oofoe
Date: 2009-12-19
URL: http://rosettacode.org/wiki/Loop/Do_While
]