2-pak is a historical programming language created in 1975.

44Years Old 0Users 0Jobs
  • 2-pak does not currently rank in our top 50% of languages
  • 2-pak first appeared in 1975
  • I have 17 facts about 2-pak. what would you like to know? 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 November 16th, 2019