Ask a Question related to Macromedia Flash, Design and Development.
-
3702 #1
operand variable question
I am creating a flash calculator and used the actionscript from the sample
included in the program.
What i would like to know is where does this variable come from : operand1.
I have gone through this function and can not understand its purpose.
Here is the function in which the variable is in.
function DoOperator(newOper)
{
// Perform an operation
if (operator == "+")
{
display = Number(operand1)+Number(display);
}
if (operator == "-")
{
display = operand1-display;
}
if (operator == "*")
{
display = operand1*display;
}
if (operator == "/")
{
display = operand1/display;
}
operator = "=";
clear = true;
decimal = false;
if (newOper != null)
{
operator = newOper;
operand1 = display;
}
}
Any and all help would be appreciated.
3702 Guest
-
wrong operand type - error
I've seen a decent number of people who have said that they have received the same error that I have now received. I received some artwork in Quark... -
The illustration contains an illegal operand.
I am working in illustrator 8.0 on windows xp. I tried to open up a file and a box pops up that says "Can't open the illustration. The illustration... -
Help with an illegal 'operand'?
Does anyone know why I'm getting this error message - Can't open illustration. The illustration contains illegal operand. Offending operator :... -
illegal operand problem.
Oh dear, it was all going so well and then this came up when I tried to re-open my AI file. When I click OK I get a page with the correct size but... -
Operand type clash
Hello all. We have a page that calls a SQL Server database using this method, cn.uspGetEventPerson Null, Null, rsEventPersons where cn is our...



Reply With Quote

