How to prevent the special meanings of special symbols

Quote
Maarten Wiltink wrote:
|| Derek wrote in message ...

||| Hi, everyone
|||
||| How to prevent the special meanings of special symbols, such as
||| symbol :=
|||
||| My code snippet is the following:
|||
||| var
|||  Query1: TQuery;
||| begin
|||  Query1.SQL.Text := ':=';
|||  ShowMessage(Query1.SQL.Text);
||| end;
|||
||| The output result is '?', not ':='. How can I make it to be ':='?
||
||
|| You don't want it to be ":=". You want it to be something like
||
|| SELECT Fields
|| FROM Table
|| WHERE Condition;
||
|| The SQL property is meant as a receptacle for SQL statements. It's
|| entirely possible that on setting its value, that value is parsed
|| and stored in some other form. Then when you retrieve its value,
|| the other form is examined, found to be invalid, and a question mark
|| is returned.
||
|| Groetjes,
|| Maarten Wiltink

In other words, something like edit1.text:=':='; showmessage(edit1.text)
should work.