2-pak is a programming language created in 1975.
- 2-pak first appeared in 1975
- Have a question about 2-pak not answered here? Email me and let me know how I can help.
Example code from the web:
coroutine FRUIT_GEN() begin strin g FRUIT ; FRUIT :- 'CHERRY1 ; detach ; whil e tru e do case FRUIT of 'CHERRY1 : FRUIT := 'LEMON1 ; 'LEMON': FRUIT := 'ORANGE? ; 'ORANGE1 : FRUIT :- 'APPLE' ; 'APPLE': FRUIT :- 'CHERRY' ; end ; detach ; end ; end ;
Last updated February 18th, 2020