Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Gets the length of the previous field of the specified FieldType, starting at the specified screen position.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
StatusCode GetPreviousLength(
	ScreenPosition position,
	ref int length,
	FieldType fieldType
)

...

Visual Basic (Declaration)
Function GetPreviousLength ( _
	position As ScreenPosition, _
	ByRef length As Integer, _
	fieldType As FieldType _
) As StatusCode


Visual C++
StatusCode GetPreviousLength(
	ScreenPosition position, 
	int% length, 
	FieldType fieldType
)

...

JavaScript
function GetPreviousLength(position, length, fieldType);


Parameters

position
Type: JollyGiant.Emulation..::.ScreenPositionCurrent ScreenPosition
Current ScreenPosition.

length
Type: System..::.Int32 %Will
Will on return contain the length of the IField.

fieldType
Type: JollyGiant.Emulation..::.FieldTypeFieldType FieldType
FieldType of field to get the length for.

Return Value

The StatusCode indicating the result of the operation.

...


The attribute byte of a IField is not included in it's length.

See Also


IField Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

...