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.  
  16. ROBOT STORAGE 2
  17. GENERATE 15
  18. QUEUE PACK1
  19. CHECK1 GATE SF ROBOT,FIL
  20. ADVANCE 40,5
  21. TRANSFER ,FIN
  22. FIL ENTER ROBOT,1
  23. TRANSFER ,CHECK1
  24. FIN TERMINATE
  25. GENERATE 3600
  26. TERMINATE 1
  27.  
  28.  
Success #stdin #stdout #stderr 0s 5272KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: near line 1: near "GPSS": syntax error
Error: near line 16: near "ROBOT": syntax error