Jump to content

Variant attributes, Flatten to String


Recommended Posts

I often use variant attributes as a quick and dirty dictionary.  I found out that I could flatten my 'variant dictionary' and save

the flattened string to a file.  I tried to unflatten the saved string and reconstitute the variant and its attributes but am getting an error 116 (Unflatten or byte stream read operation failed due to corrupt, unexpected, or truncated data.)

I am using a variant constant because the variant dictionary I created has no datatype other than the attributes which are all 1D string arrays.

I am beginning to think that this might not be possible to do, but thought I would check in to make sure I am not overlooking something.

 

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.