fork download
  1. ; GPSS World Sample File - SAMPLE1.GPS
  2. **********************************************************************
  3. * *
  4. * Barber Shop Simulation *
  5. * *
  6. **********************************************************************
  7. ; GENERATE 300,100 ;Create next customer.
  8. ; QUEUE Barber ;Begin queue time.
  9. ; SEIZE Barber ;Own or wait for barber.
  10. ; DEPART Barber ;End queue time.
  11. ; ADVANCE 400,200 ;Haircut takes a few minutes.
  12. ; RELEASE Barber ;Haircut done. Give up the barber.
  13. ; TERMINATE 1 ;Customer leaves.
  14. ;
  15.  
Success #stdin #stdout #stderr 0s 5320KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: near line 1: near "GPSS": syntax error