On 09/12/2015 02:33 PM, Dr. Hawkins wrote:
On Sat, Sep 12, 2015 at 12:47 PM, Jerry Jensen <[email protected]> wrote:

And then there’s the well-known Forth construct: ComeFrom . . .


That's Cobol, not Forth.

Forth's own stack behavior can be psychotic, too.


InterCal, I believe, from the April Fools 1984 issue of the CACM.
http://c2.com/cgi/wiki?ComeFrom

How to add two numbers in InterCal:

 DO WRITE IN .1
 DO WRITE IN .2
 DO (1) NEXT
 DO READ OUT .1
 PLEASE GIVE UP
 PLEASE STOP GIVING UP


 (1) DO COME FROM (3)
 (3) DO (2) NEXT
 (2) DO .3 <- "?'.1$.2'"~'#0$#65535'
 DO .2 <- "&'.1$.2'"~'#0$#65535'
 PLEASE .2 <- '.2$#0'~'#65535$#1'
 PLEASE DO .1 <- .3
 DO .3 <- '.2~.2'~#1
 DO .3 <- "?'.3$#1'"~#1
 PLEASE DO FORGET .3
 DO RESUME #1

--
 Mark Wieder
 [email protected]

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to