Upgrade sistema (solo info preliminari)
andrea gelmini
andrea.gelmini a lugbs.linux.it
Ven 9 Feb 2001 10:10:25 UTC
On Thu, Feb 08, 2001 at 05:03:43PM +0100, Cowo wrote:
> > Secondo te un linguaggio come INTERCAL a che serve? ;)
> E che e'?
ha ingegneria si fa i primi anni, per forza di cose.
come al solito ti sarai defilato dallo studio...
comunque, cosi` ti ricordi, l'equivalente dello
hello world del C per intercal e` questo:
DO (5) NEXT
(5) DO FORGET #1
PLEASE WRITE IN :1
DO .1 <- 'V":1~'#32768$#0'"$#1'~#3
DO (1) NEXT
DO :1 <- "'V":1~'#65535$#0'"$#65535'
~'#0$#65535'"$"'V":1~'#0$#65535'"
$#65535'~'#0$#65535'"
DO :2 <- #1
PLEASE DO (4) NEXT
(4) DO FORGET #1
DO .1 <- "'V":1~'#65535$#0'"$":2~'#65535
$#0'"'~'#0$#65535'"$"'V":1~'#0
$#65535'"$":2~'#65535$#0'"'~'#0$#65535'"
DO (1) NEXT
DO :2 <- ":2~'#0$#65535'"
$"'":2~'#65535$#0'"$#0'~'#32767$#1'"
DO (4) NEXT
(2) DO RESUME .1
(1) PLEASE DO (2) NEXT
PLEASE FORGET #1
DO READ OUT :1
PLEASE DO .1 <- 'V"':1~:1'~#1"$#1'~#3
DO (3) NEXT
PLEASE DO (5) NEXT
(3) DO (2) NEXT
PLEASE GIVE UP
ciao,
andrea
Maggiori informazioni sulla lista
Lug
|