Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 08:35:42 +0000



[Programming Help] - acsil setDefault - return;

View Count: 568

[2019-01-18 15:01:46]
User30743 - Posts: 364
hello i have a question on why there is return statement in setDefault block (is is necessary there?)

i am asking because i want to rewrite some of my SCSFExport studies as regular functions that return bool value and will be used as status in a larger AOS - for that case i need to delete return from SetDefault..

i mean. is it possible? - maybe my question is stupid but i am not a pro programmer so i dont know..

is it ok to do something like i did at the screenshots? - the code compiles and runs when i delete the return from SetDefaults, so i wonder why is it there and what it does..
Date Time Of Last Edit: 2019-01-18 15:41:29
image50668134_279221432750200_6405434639510405120_n.png / V - Attached On 2019-01-18 15:01:33 UTC - Size: 84.44 KB - 232 views
image50018970_2564526950230602_492213422604156928_n.png / V - Attached On 2019-01-18 15:01:36 UTC - Size: 89.17 KB - 222 views
imageScreenshot_1.png / V - Attached On 2019-01-18 15:41:10 UTC - Size: 22.3 KB - 209 views

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account