Posted by Peter DePasquale on October 03, 2001 at 13:29:27:
In Reply to: code problem posted by me on October 03, 2001 at 13:24:00:
: 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.
Post a Followup