|
-
Oct 22nd, 2002, 01:50 PM
#1
Thread Starter
Hyperactive Member
if help
ok im getting errors when i try this saying that (Boolean,int) are not allowed??? first if works fine all the else ifs are %^&*ed up ?
if (intSetPieces > 0 || intSetPieces <= 199)
{
dblPay = .50D;
}
else if (intSetPieces = 200 || intSetPieces <= 399)
{
dblPay = .55D;
}
else if (intSetPieces = 400 || intSetPieces <= 599)
{
dblPay = .60D;
}
else if (intSetPieces = 600 || intSetPieces <= 100)
{
dblPay = .65D;
}
else
{
intError = 1;
strError = "Error With Calculating Payment";
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|