Overview: ^: pointer @: FETCH #: Decimal symbol $: Hex symbol @: fetch operator; var Int:integer; P:^integer;begin new (P); int:=24; P:[email protected]; Dispose (P); end; ^: Reference parsing operator for pointers; var pint:^integer;begin new (pint); ShowMessage (Inttohex (Integer (@pint), 8)); Pint^:= $ff; ShowMessage (Inttohex (pint^,4)); end; #:ascii code value notation, const tab_key= #9; The ASCII value symbol for the//tab key ^ has two uses, when it appears before the type identifier, such as ^typename, that represents a type that represents a pointer to a TYPENAME type variable When it appears after a pointer variable, such as pointer^, the symbol de-references the pointer, that is, the value pointer that is stored in the memory address (the address is held in the pointer), pointing to the data. Var I:integer; PI: ^integer; Begin I: = ten PI: = @i;; pi^: = 20; I: = Pi^;end; The method of taking pointers, such as y:=p^, means the pointer p for the Y assignment
@,^,#,$ Special symbolic meanings in Delphi