Jump to content

cluster size


Recommended Posts

No, but if your array consists entirely of fixed-size types (booleans, numerics, and clusters containing only those types), then you can use a typecast node to convert the array to a cluster without having to set the number of elements.

Link to comment

QUOTE(abuch06 @ Aug 9 2007, 10:12 AM)

http://forums.lavag.org/index.php?act=attach&type=post&id=6579''>http://forums.lavag.org/index.php?act=attach&type=post&id=6579'>http://forums.lavag.org/index.php?act=attach&type=post&id=6579

A typecast node coerces data from one type to another, so long as as the representations in memory are compatible. For example, you can take an array of U16 and typecast it to an array of U8 (the array length will be doubled), because a U16 in memory is stored identically to two consecutive U8s. See the help for more details.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.