Do not return a value = TRUE

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 231
Благодарностей
5 844
Баллы
113
Could you please give any C# example?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 231
Благодарностей
5 844
Баллы
113
Sorry, didn't understand it at first.
Not sure if it's good idea to enable this option by default. Quite often snippet should return some value.
Maybe it's worth to add checkbox in program settings - Do not return value from snippets, smth like that.
 
  • Спасибо
Реакции: LaGir

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113
Sorry, didn't understand it at first.
Not sure if it's good idea to enable this option by default. Quite often snippet should return some value.
Maybe it's worth to add checkbox in program settings - Do not return value from snippets, smth like that.
No problem.

Or even better idea to automate that like this.
By default C# action does not return value, but if user take and set variable value then it return value.
In short, No value in C# variable field = no return value.
There is variable set then it return value.

Thanks
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)