TURBU Tech – Quick, what should this routine produce? procedure Test; var expr: TExpression; result: string; begin expr := 'Value'; expr := expr = 5; result := expr; writeln(result); end; There are three basic answers here: Wait, you’re assigning a string to it, and then a boolean comparison against an integer… does that even compile? Well, first you’re assigning a string, then a boolean comparison against an integer, then turning it into a string… well, TExpression must be some sort of thing like ...
Visits by Source
Users who voted for this posting