Flynet Simulated Host

IfCursorAt Tag

IfCursorAt Tag

Previous topic Next topic  

IfCursorAt Tag

Previous topic Next topic  

The IfCursorAt tag allows simple logic based on the location of the cursor returned by the client emulator.

 

The logic of the IfCursorAt tag is:  if the active cursor location matches the row/column specified in the tag, then the condition is TRUE.

 

The IfScreen tag's attributes are as follows:

 

Attribute

Default / Required

Description

row

1

Row number (1..maximum rows)

column

1

Column number (1..maximum columns)

 

Child Tags Allowed:

 

Logic Tags
Action Tags

 


Example:

 

<IfCursorAt row="12" column="21">

  <PutScreen row="12" column="31" text="}I like your cursor]"/>

<Else/>

  <PutScreen row="12" column="31" text="}Hey where is my cursor]"/>

</IfScreen>