Merhabalar,
IF lerin içine koşulları yazdım fakat hata alıyorum. nerede hata yaptığımı anlayamadım. destek olabilir misiniz ?
Al Koşulu ;
X1:=OPT1;
X2:=OPT2;
X3:=if(X1=20,200,if(X1=30,300,if(X1=40,500,if(X1=50,600,if(X1=60,800,40)))));
X4:=if(X2=0.6,200,if(X2=0.7,275,if(X2=0.8,350,if(X2=0.9,425,if(X2=1.0,500,if(X2=1.1,500,if(X2=1.2,575,if(X2=1.3,650,if(X2=1.4,725,if(X2=1.5,800,200))))))))));
MOV(C,X1,VAR)>OTT(C,X1,X2)
AND
STOSK(C,X3,X4,111,VAR)+1000>OTT(STOSK(C,X3,X4,111,VAR)+1000,2,opt5)
Sat Koşulu ;
X1:=OPT1;
X2:=OPT2;
X3:=if(X1=20,200,if(X1=30,300,if(X1=40,500,if(X1=50,600,if(X1=60,800,40)))));
X4:=if(X2=0.6,200,if(X2=0.7,275,if(X2=0.8,350,if(X2=0.9,425,if(X2=1.0,500,if(X2=1.1,500,if(X2=1.2,575,if(X2=1.3,650,if(X2=1.4,725,if(X2=1.5,800,200))))))))));
MOV(C,X1,VAR)<OTT(C,X1,X2)
AND
STOSK(C,X3,X4,111,VAR)+1000<OTT(STOSK(C,X3,X4,111,VAR)+1000,2,opt5)