Vote UpVote

Null character in Delphi (Caret notation: ^@)

Yanniel's notes – I was assigned with a new programming task and I found the following constant declaration in the base code (Delphi 2007):const  s1 : PChar = ^@;I was not sure about the meaning of such statement: the first ideas in my mind pointed me to think about some kind of pointer related syntax. I was induced to think so for the caret (^) and the at (@) symbols (operators?), which allow dereferencing a pointer and returning the address of a variable respectively.Despite my hunch, the meaning of the above constant declaration was very different from my initial thoughts. Actually, it’s quite ...
Favorite? Off-Topic? Yanniel @ 2011-07-20 14:02


Visits: 20
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)