Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you escape a reserved word in Delphi?

I need to Escape a reserved word to use it as an identifier in Delphi. I thought that was accomplished by using the ampersand "&", but that doesn't seem to be working right. Any other suggestions?

like image 942
Jim McKeeth Avatar asked Oct 02 '09 22:10

Jim McKeeth


1 Answers

I found the doc page (search for Extended Syntax) on it, and it should be ampersand.

Figured out the problem. The ampersand works for compiling and error insight, but not code completion. Good to know. I had to add an _ suffix to get code completion to work, then change it back afterwords. I should check QC for a bug report.

like image 164
Jim McKeeth Avatar answered Oct 06 '22 23:10

Jim McKeeth