Component: String Initialiser (Utility): Difference between revisions
Appearance
No edit summary |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
Please click here | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_StringInitialiser.fcfx FC_Comp_Source_StringInitialiser.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_StringInitialiser.fcfx FC_Comp_Source_StringInitialiser.fcfx] | |||
==Detailed description== | ==Detailed description== | ||
| Line 38: | Line 48: | ||
==Examples== | ==Examples== | ||
| Line 55: | Line 73: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
==Macro reference== | ==Macro reference== | ||
{| class="wikitable | ===GetString=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetString''' | ||
|- | |- | ||
| colspan="2" | Gets a string stored in ROM memory and loads into a RAM string variable | | colspan="2" | Gets a string stored in ROM memory and loads into a RAM string variable | ||
| Line 75: | Line 104: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:23, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.0 |
| Category | Utility |
String Initialiser component
A component allowing an easy way to initialise string variables using ROM memory. A simple and efficient way to populate string variables helping to save on RAM usage. Allows up to 16 strings to be stored. For additional strings simply use more String Initialiser components.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_StringInitialiser.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_StringInitialiser.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetString
| GetString | |
| Gets a string stored in ROM memory and loads into a RAM string variable | |
| Index | |
| Range: 0-15 Depending on number of strings | |
| Return | |
Property reference
| Properties | |
| Number of Strings | |
| String 0 | |
| String data index 0 | |
| String 1 | |
| String data index 1 | |