Jump to content
Sign in to follow this  
Swervomotor

Clear/Reinitialize Entire Struct

Recommended Posts

Good day,

Is there a way to clear all data in an entire Struct that includes strings and INTs?

I found the Reset Numeric Coil in the Basic Elements tool box but that only works with a single numeric element. I was wondering if their was an easier way to clear the entire Struct.

Thanks,

Swervomotor

 

Share this post


Link to post
Share on other sites

Reset numeric will also clear structs.

The Auto-Complete sees that the element also supports Bits and numbers and therefore adds a . after the struct name.

Just delete the dot (leave just the struct name) and press Enter, and it will accept the struct

Share this post


Link to post
Share on other sites

Saragani,

Thank you for the response! I'm glad there is a way.

This is my first program with Unitronics, the Unistream software is much more intuitive than most I've used.

I look forward to utilizing the Unilogic platform in future projects.

-Swervomotor

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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.

Sign in to follow this  

×
×
  • Create New...