AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkIncomingNetworkMessage.GetFloat Method

Gets a single floating point value from the message and advances the data pointer to the next message item.

Syntax
Pascal
function GetFloat: Single;

The value.

Messages should be created and read according to known formats, e.g. String, Integer, String as there is no immediate way for the receiver to know the format of a message. You could use an initial integer to specify a message type ID which you can use to identify the message format.

Copyright (c) 2012. All rights reserved.