CPtr

Converts a pointer expression to a specified data type pointer

Syntax
	CPtr( PointerDataType, expression )

Description
	Converts expression to PointerDataType.

	PointerDataType must be a KeyPgPtrPointer type (e.g. a DataTypeDataType KeyPgPtrPtr or an KeyPgAnyAny KeyPgPtrPtr
	), or a KeyPgTypeAliasType (Alias) to one.
	expression may have a different pointer type or be an KeyPgIntegerInteger.

	Note: Currently, FB does not actually enforce that PointerDataType must 
	be a pointer.  This will likely change in future versions though.  
	Currently, it may display a warning if you try to convert to a 
	non-pointer (for any conversion type if you compile with the CompilerOptw-w pedantic 
	compiler switch).

Example
	Dim intval As Integer
	Dim intptr As Integer Ptr
	intval = &h0080
	intptr = @intval
	'' will print -128 and 128, as the first expression will be "seen" as an signed byte
	Print *CPtr( Byte Ptr, intptr ), *intptr

Dialect Differences
	* Not available in the CompilerOptlang-lang qb dialect unless referenced with the 
	  alias __Cptr.

Differences from QB
	* New to FreeBASIC

See also
	* KeyPgPtrPtr
	* KeyPgCastCast
	* KeyPgCbyteCByte
	* KeyPgCshortCShort
	* KeyPgCintCInt
	* KeyPgClngintCLngInt
	* KeyPgCsngCSng
	* KeyPgCdblCDbl 

