Автоматизація господарської діяльності ВАТ "Коломийський сирзавод"
Автоматизація господарської діяльності ВАТ "Коломийський сирзавод"
Тип документу: Дипломна
Сторінок: 69
Предмет: Комп`ютерні науки
Автор:
Розмір: 423.4
Скачувань: 2768
go top
do while !eof()
do case
case grupa=1
replace oper1 with round(cena*a.g1P1*a.g1P2/100,2)
replace amrt with cena-oper1
case grupa=2
replace oper1 with round(cena*a.g2P1*a.g2P2/100,2)
replace amrt with cena-oper1
case grupa=3
replace oper1 with round(cena*a.g3P1*a.g3P2/100,2)
replace amrt with cena-oper1
otherwise
replace oper1 with 10101
repl\x6361\x2065\x6D61\x7472\x7720\x7469\x2068\x3031\x3031\x0D31\x0909\x6509\x646E\x6163\x6573\x730D\x696B\x2870\x2931
@ 1,0 SAY 'для-'+nazva
@ 2,0 say str(cena)
@ 3,0 say str(amrt)
enddo
clear windows
do dtop
return
Лістінг модуля M1_15.prg
parameter bar
clear windows
close databases
set talk off
clear
do dtop
define window w033 from 5,5 to 19,55 double shadow
do while !eof()
do case
case grupa=1
replace oper1 with round(cena*a.g1P1*a.g1P2/100,2)
replace amrt with cena-oper1
case grupa=2
replace oper1 with round(cena*a.g2P1*a.g2P2/100,2)
replace amrt with cena-oper1
case grupa=3
replace oper1 with round(cena*a.g3P1*a.g3P2/100,2)
replace amrt with cena-oper1
otherwise
replace oper1 with 10101
repl\x6361\x2065\x6D61\x7472\x7720\x7469\x2068\x3031\x3031\x0D31\x0909\x6509\x646E\x6163\x6573\x730D\x696B\x2870\x2931
@ 1,0 SAY 'для-'+nazva
@ 2,0 say str(cena)
@ 3,0 say str(amrt)
enddo
clear windows
do dtop
return
Лістінг модуля M1_15.prg
parameter bar
clear windows
close databases
set talk off
clear
do dtop
define window w033 from 5,5 to 19,55 double shadow