Dbase, Clipper v.s. (Veri Tabanı Dilleri)
CLEAR SET TALK OFF SET ECHO OFF set date british STORE 0 TO M DO 02,64 say "Tarih = 02,72 say 03,18 to 19,49 05,20 SAY "URETIM TAKIP PROGRAMI 06,20 SAY 07,20 SAY "1.ISCI 08,20 SAY "2.URUN 09,20 SAY "3.URETIM 10,20 SAY "4.YOKLAMA 11,20 SAY "5.YOKLAMA 12,20 say "6.TOPLAM 13,20 SAY "7.TOPLAM 14,20 SAY 15,20 SAY 16,19 SAY "10.GUNLUK 17,19 SAY "11.GUNLUK 18,19 SAY "12.PROGRAMDAN CIKIS 20,21 SAY " SECIMINIZ = " GET M PICT "##" RANGE 1,12 READ DO CASE CASE M=1 DO ismenu CASE M=2 DO urmenu CASE M=3 DO utmenu CASE M=4 DO yliste CASE M=5 DO ycliste CASE M=6 DO etklis CASE M=7 DO tkliste CASE M=8 DO urliste CASE M=9 DO avmenu CASE M=10 DO gunliste CASE M=11 DO gunlisty CASE M=12 CLEAR QUIT ENDCASE ENDDO
CLEAR SET TALK OFF SET ECHO OFF STORE 0 TO M DO 02,64 say "Tarih = 02,72 say 03,18 to 16,49 05,20 SAY " ISCI KAYIT 06,20 SAY 07,20 SAY "1.YENI 08,20 SAY 09,20 SAY 10,20 SAY "4.ONCEKI MENUYE 12,21 SAY " SECIMINIZ = " GET M PICT "#" RANGE 1,8 READ DO CASE CASE M=1 DO isk1 CASE M=2 DO isk2 CASE M=3 DO isk3 CASE M=4 DO menu ENDCASE ENDDO İsmenu :
clear STORE 0 TO nn use pers store "e" to cevap do while UPPER(cevap)="E".OR. UPPER(cevap)="e" append blank store "h" to cev do while upper(cev)="H".OR. upper(cev)="h" 03,08 to 13,75 05,10 say "Sra No = " get 06,10 say "Ad = " get 07,10 say "Soyad = " get soyad 14,10 say "Girilen bilgiler dogru mu? =" get cev read 16,10 say "Yeni kayit girilecek mi? =" get cevap read enddo clear return İsk1 :
clear store 0 TO sr store " " to cev STORE 0 TO nn use 04,08 to 13,55 03,08 say “işçi kayıt 05,10 say "Sıra No = " get sr read go 1 DO WHILE.NOT. EOF() IF 06,10 say "Ad = 07,10 say "Soyad = 06,22 say 07,22 say 14,10 say "Değiştirilecek kayıt mı? =" get cev read IF cev="E".OR. 14,10 say 06,10 say "Ad = " get 07,10 say "Soyad = " get soyad READ ENDIF SKIP ENDDO CLEAR RETURN İsk2 :
clear store 0 TO sr store " " to cev STORE 0 TO nn use 04,08 to 13,55 03,08 say “işçi kayıt 05,10 say "Sra No = " get sr read go 1 DO WHILE.NOT. EOF() IF 06,10 say "Ad = 07,10 say "Soyad = 06,22 say 07,22 say 14,10 say "Iptal edilecek kayit mi? =" get cev read IF cev="E".OR. 14,10 say space(30) DELETE PACK ENDIF SKIP ENDDO CLEAR RETURN İsk3 :
clear use pers sort to liste on sirano use liste store " " to 02,08 say "Yoklama 02,30 say 03,06 say " " go 1 row=4 DO WHILE.NOT. row,01 say row,10 say row,20 say soyad row=row+1 if 24,10 say 'Sayfa sonu' get cev read if cev="M" clear return endif 02,08 say "Yoklama 02,30 say 03,06 say " " row=4 endif SKIP 24,10 say 'Liste sonu' get cev read CLEAR RETURN Yliste :
use pers sort to liste on sirano use liste SET DEVICE TO PRINTER SET PRINTER ON SET PRINTER TO YCL SET CONSOLE 01,01 say 'YOKLAMA 01,30 say 02,01 SAY ' ' PROW=3 DO WHILE.NOT. SAY SAY SAY soyad PROW=PROW+1 if prow=68 01,01 say 'YOKLAMA 01,30 say 02,01 SAY ' ' PROW=3 endif skip SAY 'LISTE SONU‘ EJECT SET PRINTER OFF SET DEVICE TO SCREEN SET CONSOLE ON close all Ycliste :
CLEAR SET TALK OFF SET ECHO OFF STORE 0 TO M DO 02,64 say "Tarih = 02,72 say 03,18 to 19,49 05,20 SAY " URETIM KAYIT 06,20 SAY 07,20 SAY "1.YENI 08,20 SAY 09,20 SAY 10,20 SAY "4.ISCI KAYIT 11,20 SAY "5.ISCI KAYIT 12,20 SAY "6.KISISEL 13,20 SAY "7.KISISEL 14,20 SAY "8.TARIHLER ARASI 15,20 SAY "9.TARIHLER ARASI 16,19 SAY "10.ONCEKI MENUYE 18,21 SAY " SECIMINIZ = " GET M PICT "##" RANGE 1,10 READ DO CASE CASE M=1 DO utk1 CASE M=2 DO utk2 CASE M=3 DO utk3 CASE M=4 DO caliste CASE M=5 DO utk4 CASE M=6 DO klliste CASE M=7 DO klyzc CASE M=8 DO takze CASE M=9 DO takzy CASE M=10 DO menu ENDCASE ENDDO Utmenu :