Difference between revisions of "Component: Lookup tables (Storage)"

From Flowcode Help
Jump to navigationJump to search
(XML import of components for release)
(XML import of modded components)
Line 17: Line 17:
 
==[[File:Component Icon dfb4d07a_3d70_45d5_83ef_07e3c95d86ab.png|Image]] Lookup tables component==
 
==[[File:Component Icon dfb4d07a_3d70_45d5_83ef_07e3c95d86ab.png|Image]] Lookup tables component==
 
A lookup-table manager
 
A lookup-table manager
 
This component can be used as a base to create ''child'' components
 
 
The following components all inherit the traits of Lookup tables:
 
 
{| class="wikitable" width="50%"
 
|+|-
 
|[[File:Component Icon aa4dbea0_7355_4171_9e13_171a25555092.png|Image]] [[Component: ID aa4dbea0_7355_4171_9e13_171a25555092|Font 7]]
 
|Font for large memory devices.
 
|-
 
|[[File:Component Icon b31cd4ec_58f7_4b14_a433_fb006c2f5e4f.png|Image]] [[Component: ID b31cd4ec_58f7_4b14_a433_fb006c2f5e4f|Font 6]]
 
|Font for large memory devices.
 
|-
 
|[[File:Component Icon 47f07450_b21e_4c40_8703_d989fc32b4cf.png|Image]] [[Component: ID 47f07450_b21e_4c40_8703_d989fc32b4cf|Font 8]]
 
|Font for large memory devices.
 
|-
 
|[[File:Component Icon 8da13197_c8dd_4bbe_a486_7f418bc8d6da.png|Image]] [[Component: ID 8da13197_c8dd_4bbe_a486_7f418bc8d6da|Font 5]]
 
|Font for large memory devices.
 
|-
 
|[[File:Component Icon 618c63a2_fded_419e_b6ae_f7d94e93e3ab.png|Image]] [[Component: ID 618c63a2_fded_419e_b6ae_f7d94e93e3ab|Font 3]]
 
|Font for large memory devices.
 
|-
 
|[[File:Component Icon ebd2b03d_1f86_419d_ae70_dc344d383885.png|Image]] [[Component: ID ebd2b03d_1f86_419d_ae70_dc344d383885|Font 4]]
 
|Font for large memory devices.
 
|-
 
|[[File:Component Icon 879d2213_b712_4871_957d_b3ef9328eb32.png|Image]] [[Component: ID 879d2213_b712_4871_957d_b3ef9328eb32|Font 9]]
 
|Font for large memory devices.
 
|}
 
  
 
==Examples==
 
==Examples==

Revision as of 13:42, 2 September 2013


Author Matrix Ltd
Version 1.3
Category Storage


Image Lookup tables component

A lookup-table manager

Examples

No additional examples


Downloadable macro reference

GetFloat

Gets a float from the LUT

Parameters

UINT Index


Return value

FLOAT


GetInt

Gets an integer from the LUT

Parameters

UINT Index


Return value

ULONG


Simulation macro reference

GetFloats

Gets the float LUT

Parameters

FLOAT Dest


Return value

This call does not return a value


GetIntCount

Gets the number of int LUT entries

Parameters

This macro has no parameters


Return value

UINT


ClearInts

Clear all int LUT values

Parameters

This macro has no parameters


Return value

This call does not return a value


GetFloatCount

Gets the number of float LUT entries

Parameters

This macro has no parameters


Return value

UINT


GetIntBits

Gets the number of bits-per-int in the LUT

Parameters

This macro has no parameters


Return value

BYTE


SetIntBits

Sets the size of an int LUT entry

Parameters

BYTE Bits


Return value

This call does not return a value


GetFloatBits

Gets the number of bits-per-float in the LUT

Parameters

This macro has no parameters


Return value

BYTE


ClearFloats

Clear all float LUT values

Parameters

This macro has no parameters


Return value

This call does not return a value


GetInts

Gets the int LUT

Parameters

ULONG Dest


Return value

This call does not return a value


SetFloatBits

Sets the size of a float LUT entry

Parameters

BYTE Bits


Return value

This call does not return a value


AddInt

Int to add to the int array

Parameters

ULONG Value
Int to add to the int array


Return value

This call does not return a value


AddFloat

Add a float to the floating point LUT

Parameters

FLOAT Value
Floating point values


Return value

This call does not return a value



Property reference

Integers

This property is of type Multiple lines of text and can be referenced with the variable name intfixed.

No additional information


Floats

This property is of type Multiple lines of text and can be referenced with the variable name floatfixed.

No additional information


Embed Into C

This property is of type True or false and can be referenced with the variable name EmbedIntoC.

No additional information