-
I'm trying to make a order for wich allows you type in the articel and the the quantity. That's no problem. but a want to count up the quantity and I can't do it. please help
-
Just use,
Set variable: "/:total" = /:price + /:tax +/:whatever
Just use a button or frame action to total it. ~ mgb
-
Am I stupid. It says it has a error when i use this script or it gives the variable names
[Edited by michael123 on 12-25-2000 at 03:30 PM]
-
Make sure the " = " is checked when you add the variables. They must be expressions when you add them. ~ mgb
ps just click the 'ab' button beside the field for the variables.
-
i'm sory to bother you again but all it says when i type 2+4 is 24 instead of 6
-
Can you copy and paste your code into a post and send it exactly as is? It should work...mgb
-
I'm sorry but I got sick of it so I trew it away. Is it possible you make one for me?
-
When you set the variables that are to be added check the " = " sign. That's all you should need to do as well as checking the ' = ' for the sum....When you put the cod e in the only variable with "" should be the total variable.
Set variable: "/:total" = /:a + /:b + /:c
mgb
-
hey i think it's working now thanx
-
Other solution : very usefull !!!
You can make the first prog work by modifying it that way :
Set variable: "/:total" = Number(/:price) + Number(/:tax) + Number(/:whatever)
-
yep that what i found out now i use
on (release) {
total = String (number(quan1)+number(quan2)+number(quan3));
}
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
|