Posted by Peter DePasquale on October 03, 2001 at 15:13:01:
In Reply to: Re: code problem posted by me on October 03, 2001 at 14:17:04:
: : : Im getting an error with: if (Type = 'P')
: : : LENGTH = PEAKTIME;
: : : where Type is a string, LENGTH is a string and PEAKTIME is an int. It says the condtional expression is illegal. Any suggestions on how to get the same if statement, yet legally?
: : Yeah, recheck the difference between an expression and an assignment.
OK, what? Did you note that you are attempting an assignment statement in your comparison expression?
Post a Followup