¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Setting a Simpl# Array Size based on a constant in Simpl+?


 
Edited

You can just call an "initialize" function of some sort and passing in your #DEFINE_CONSTANT identifier. Then in your C# you would have something like:
public void Initialize(int size) { array = new ???[size]; }
I've done this before when I know I only need an array of a max size (i.e. for I/O purposes for some functionality)
--
?
Crestron Service Provider - TBD Enterprises Inc.

Join [email protected] to automatically receive all group messages.