|
|
| (12 intermediate revisions by 2 users not shown) |
| Line 16: |
Line 16: |
|
| |
|
| ==Component Source Code== | | ==Component Source Code== |
| | |
| | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_keypad_hex.fcfx FC_Comp_Source_keypad_hex.fcfx] |
|
| |
|
| Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_keypad_hex.fcfx FC_Comp_Source_keypad_hex.fcfx] | | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_keypad_hex.fcfx FC_Comp_Source_keypad_hex.fcfx] |
|
| |
|
| ==Detailed description== | | ==Detailed description== |
| | |
| | |
| | |
| | |
| | |
| | |
|
| |
|
|
| |
|
| Line 41: |
Line 49: |
|
| |
|
|
| |
|
| ''<span style="color:red;">No additional examples</span>''
| |
|
| |
|
| ==Macro reference==
| |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WaitPressed'''
| |
| |-
| |
| | colspan="2" | Blocking call that waits for one of the keys on the keypad to be pressed. The index of the key that was pressed is passed back to the user.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetAscii'''
| |
| |-
| |
| | colspan="2" | Gets the ASCII value for the current keypress. If no key is pressed then the macro returns the value 255.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| | ''<span style="color:red;">No additional examples</span>'' |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetString'''
| |
| |-
| |
| | colspan="2" | Gets the ASCII value for the current keypress and returns in the form of a string. If no key pressed then the macro returns a null string.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetNumber'''
| |
| |-
| |
| | colspan="2" | Gets the numeric value for the current keypress. If no key pressed then the macro returns the value 255.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetIndex'''
| |
| |-
| |
| | colspan="2" | Gets the index value for the current keypress. If no key pressed then the macro returns the value 255.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WaitReleased'''
| |
| |-
| |
| | colspan="2" | Blocking call that waits for the keys on the keypad to be released. If no key is pressed then the function will return immediatley.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
|
| |
|
|
| |
|
| ==Property reference==
| |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| | ==Macro reference== |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| |
| | width="90%" | Output Mode
| |
| |-
| |
| | colspan="2" |
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-19-icon.png]]
| |
| | width="90%" | Port
| |
| |-
| |
| | colspan="2" |
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Appearance
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
| |
| | width="90%" | Style
| |
| |-
| |
| | colspan="2" |
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the fill colour of the shape
| |
| |-
| |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
| |
| | width="90%" | Colour
| |
| |-
| |
| | colspan="2" | Specifies the font colour for the item
| |
| |}==Macro reference==
| |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===GetAscii=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WaitPressed''' | | | width="90%" class="mtx-class-macrohead" | '''GetAscii''' |
| |- | | |- |
| | colspan="2" | Blocking call that waits for one of the keys on the keypad to be pressed. The index of the key that was pressed is passed back to the user. | | | colspan="2" | Gets the ASCII value for the current keypress. If no key is pressed then the macro returns the value 255. |
| |- | | |- |
| |- | | |- |
| Line 458: |
Line 83: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===GetIndex=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetAscii''' | | | width="90%" class="mtx-class-macrohead" | '''GetIndex''' |
| |- | | |- |
| | colspan="2" | Gets the ASCII value for the current keypress. If no key is pressed then the macro returns the value 255. | | | colspan="2" | Gets the index value for the current keypress. If no key pressed then the macro returns the value 255. |
| |- | | |- |
| |- | | |- |
| Line 471: |
Line 97: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===GetNumber=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetString''' | | | width="90%" class="mtx-class-macrohead" | '''GetNumber''' |
| |- | | |- |
| | colspan="2" | Gets the ASCII value for the current keypress and returns in the form of a string. If no key pressed then the macro returns a null string. | | | colspan="2" | Gets the numeric value for the current keypress. If no key pressed then the macro returns the value 255. |
| |- | | |- |
| |- | | |- |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING | | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE |
| | width="90%" style="border-top: 2px solid #000;" | ''Return'' | | | width="90%" style="border-top: 2px solid #000;" | ''Return'' |
| |} | | |} |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===GetString=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetNumber''' | | | width="90%" class="mtx-class-macrohead" | '''GetString''' |
| |- | | |- |
| | colspan="2" | Gets the numeric value for the current keypress. If no key pressed then the macro returns the value 255. | | | colspan="2" | Gets the ASCII value for the current keypress and returns in the form of a string. If no key pressed then the macro returns a null string. |
| |- | | |- |
| |- | | |- |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE | | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING |
| | width="90%" style="border-top: 2px solid #000;" | ''Return'' | | | width="90%" style="border-top: 2px solid #000;" | ''Return'' |
| |} | | |} |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===WaitPressed=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetIndex''' | | | width="90%" class="mtx-class-macrohead" | '''WaitPressed''' |
| |- | | |- |
| | colspan="2" | Gets the index value for the current keypress. If no key pressed then the macro returns the value 255. | | | colspan="2" | Blocking call that waits for one of the keys on the keypad to be pressed. The index of the key that was pressed is passed back to the user. |
| |- | | |- |
| |- | | |- |
| Line 510: |
Line 139: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===WaitReleased=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WaitReleased''' | | | width="90%" class="mtx-class-macrohead" | '''WaitReleased''' |
| |- | | |- |
| | colspan="2" | Blocking call that waits for the keys on the keypad to be released. If no key is pressed then the function will return immediatley. | | | colspan="2" | Blocking call that waits for the keys on the keypad to be released. If no key is pressed then the function will return immediatley. |
| Line 521: |
Line 151: |
| | width="90%" style="border-top: 2px solid #000;" | ''Return'' | | | width="90%" style="border-top: 2px solid #000;" | ''Return'' |
| |} | | |} |
|
| |
|
| |
|
| |
|
|
| |
|
| ==Property reference== | | ==Property reference== |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | | width="90%" class="mtx-class-macrohead" | '''Properties''' |
| |- | | |- |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections | | | width="90%" class="mtx-class-propfolder" | Connections |
| |- | | |- |
| |- | | |- |
| Line 547: |
Line 175: |
| | colspan="2" | | | | colspan="2" | |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Appearance | | | width="90%" class="mtx-class-propfolder" | Appearance |
| |- | | |- |
| |- | | |- |
| Line 556: |
Line 184: |
| | colspan="2" | | | | colspan="2" | |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 565: |
Line 193: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 574: |
Line 202: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 583: |
Line 211: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 592: |
Line 220: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 601: |
Line 229: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 610: |
Line 238: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 619: |
Line 247: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 628: |
Line 256: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 637: |
Line 265: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 646: |
Line 274: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 655: |
Line 283: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 664: |
Line 292: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 673: |
Line 301: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 682: |
Line 310: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 691: |
Line 319: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 700: |
Line 328: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 709: |
Line 337: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 718: |
Line 346: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 727: |
Line 355: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 736: |
Line 364: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 745: |
Line 373: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 754: |
Line 382: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 763: |
Line 391: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 772: |
Line 400: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 781: |
Line 409: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 790: |
Line 418: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 799: |
Line 427: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 808: |
Line 436: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 817: |
Line 445: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |
| Line 826: |
Line 454: |
| | colspan="2" | Specifies the font colour for the item | | | colspan="2" | Specifies the font colour for the item |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Button | | | width="90%" class="mtx-class-propfolder" | Button |
| |- | | |- |
| |- | | |- |
| Line 835: |
Line 463: |
| | colspan="2" | Specifies the fill colour of the shape | | | colspan="2" | Specifies the fill colour of the shape |
| |- | | |- |
| | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] |
| | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Label | | | width="90%" class="mtx-class-propfolder" | Label |
| |- | | |- |
| |- | | |- |