Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 19:45:39 +0000



Post From: sc.SetDefaults - resetting from within active ACSIL function

[2016-10-30 08:27:57]
User553714 - Posts: 184
Hi,

Is there anyway to re-run sc.SetDefaults from within an ACSIL function; I have tried manually setting sc.SetDefault = 1 (True) from within an active ACSIL function but this seems to have no affect. What I am trying to do is cause a full reset of the variables within sc.SetDefaults without having to remove and then reapply a custom study. I can repeat all the variables in a 2nd location but it would be easier to just have sc.SetDefault to run again? Is this possible? I read the following links but they don't seem to help. Regards.
ACSIL Interface Members - Variables and Arrays: sc.SetDefaults
http://www.sierrachart.com/index.php?page=doc/ACS_ArraysAndLooping.html#ManualLooping