Hello everyone,
if i want to create a c # module which computes values between it and then create output value in zenno how can i do that?
I know the resulting value is a "string" so I have to convert it to "int"
so the code will give this style?
var number1 = int.TryParse ("project.Variables [" number_photos "]. Value", out number),
var number2 = int.TryParse ("project.Variables [" number_regex "]. Value", out number),
var result = number1 / number2
return result
is the code correct? and will the "result" variable be created automatically in zenno?
first time c# in zenno
thanks for your advices
if i want to create a c # module which computes values between it and then create output value in zenno how can i do that?
I know the resulting value is a "string" so I have to convert it to "int"
so the code will give this style?
var number1 = int.TryParse ("project.Variables [" number_photos "]. Value", out number),
var number2 = int.TryParse ("project.Variables [" number_regex "]. Value", out number),
var result = number1 / number2
return result
is the code correct? and will the "result" variable be created automatically in zenno?
first time c# in zenno
thanks for your advices