Difference between revisions of "TargCurs"
From Wiki
Panther.sn (Talk | contribs) |
|||
Line 4: | Line 4: | ||
=== Description === | === Description === | ||
{{rw}} | {{rw}} | ||
+ | |||
+ | The [[Var targCurs|#targCurs]] system variable determines if cursor is a target cursor. It can also be written to, to get a target cursor. | ||
+ | |||
+ | '''Table 33. [[Var targCurs|#targCurs]] values.''' | ||
+ | |||
+ | {| border="1" cellpadding="2" | ||
+ | |- | ||
+ | | width=60px style="background:#ffdead;" | Value || width=200px style="background:#ffdead;" | Description | ||
+ | |- | ||
+ | |0 || Cursor is a normal cursor. | ||
+ | |- | ||
+ | |1 || Cursor is a target cursor. | ||
+ | |} | ||
+ | |||
+ | |||
==== Example ==== | ==== Example ==== | ||
<pre> | <pre> | ||
+ | event SysMessage Target something! | ||
+ | |||
+ | set #targCurs 1 | ||
+ | targLoop: | ||
+ | if #targCurs = 1 | ||
+ | goto targLoop | ||
+ | |||
+ | event SysMessage The ID of the target is #lTargetID | ||
+ | halt | ||
Line 12: | Line 36: | ||
==== See Also ==== | ==== See Also ==== | ||
{| | {| | ||
− | | Width=200px | | + | | Width=200px | [[target]] |
|} | |} | ||
---- | ---- |
Revision as of 21:37, 15 August 2005
#targCurs
Extended System Variables
Description
⇔
The #targCurs system variable determines if cursor is a target cursor. It can also be written to, to get a target cursor.
Table 33. #targCurs values.
Value | Description |
0 | Cursor is a normal cursor. |
1 | Cursor is a target cursor. |
Example
event SysMessage Target something! set #targCurs 1 targLoop: if #targCurs = 1 goto targLoop event SysMessage The ID of the target is #lTargetID halt
See Also
target |
Main_Page | Documentation | Extended System Variables |