Jump to content

API System.SetHandleWord: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<sidebar>API contents</sidebar>
{| class="mtx-class-macrotable wikitable"
Sets a general purpose word in the handle for use by its owner
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" class="mtx-class-macrohead" | '''SetHandleWord'''
|-
| colspan="2" | Sets a general purpose word in the handle for use by its owner&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
| width="90%" | Handle
|-
| colspan="2" | The handle of an object created with CreateHandle()&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
| width="90%" | Index
|-
| colspan="2" | An index into the custom handles list of private words&nbsp;
|-
| width="10%" align="center" | [[File:Fc9-u32-icon.png]] - ULONG
| width="90%" | Value
|-
| colspan="2" | The value to write to slot 'Index'&nbsp;
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - NONE
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}


<div style="width:25%; float:right" class="toc">
====Class hierarchy====
[[API System|System]]
:[[API System|SetHandleWord]]
</div>
__TOC__


==Parameters==
==Detailed description==
[[Variable types|HANDLE]] ''Handle''
:The handle of an object created with CreateHandle()
 
[[Variable types|ULONG]] ''Index''
:An index into the custom handles list of private words
 
[[Variable types|ULONG]] ''Value''
:The value to write to slot 'Index'


==Return value==
''This call does not return a value''
==Detailed description==
''<span style="color:red;">No additional information</span>''




Line 30: Line 34:
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::System.SetHandleWord(handle, index, value)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::System.SetHandleWord(handle, index, value)</pre>
''<span style="color:red;">No additional information</span>''

Latest revision as of 14:11, 13 July 2026

SetHandleWord
Sets a general purpose word in the handle for use by its owner 
- HANDLE Handle
The handle of an object created with CreateHandle() 
- ULONG Index
An index into the custom handles list of private words 
- ULONG Value
The value to write to slot 'Index' 
- NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::System.SetHandleWord(handle, index, value)