rapid_minus: I don't get it: according to the help, int is not a function, but a type.
Int is type and function is declared. Yes, the function type is int, so it is obligatory to return the value. Use void type, it is designed for such cases, when no value must be returned as a result of function execution.
evillive: Int is a type, and the function is declared. Well, yes, the function type is int, so the return of the value is mandatory. Use void type, it is designed for such cases, when no value must be returned after the function is executed.
SOS! Here's a snippet of the included global variables file. The rest of it is exactly the same.
I did everything I could: changed parameters, removed variables from the file individually and in groups to find the error - all the same:
"not all control paths return a value" warning. What is the reason then?
I'm going crazy: everything seems simple, but it doesn't work.Can't you use a translator?
The int function must return a value.
There are still a lot of questions about this function, though.
Can't you use an interpreter?
The int function must necessarily return a value.
Although there are still many questions about this function.
I don't get it: according to the help, int is not a function, but a type.
Int is a type, and the function is declared. Well, yes, the function type is int, so the return of the value is mandatory. Use void type, it is designed for such cases, when no value must be returned after the function is executed.
Exactly. It's clear, it's clear, it's clear. Done - and oh, miracle!
THANK YOU.
SOS! Here's a snippet of the included global variables file. The rest of it is exactly the same.
I did everything I could: changed parameters, removed variables from the file individually and in groups to find the error - all the same:
"not all control paths return a value" warning. What is the reason then?
It's crazy: it seems simple, but it doesn't work.I just wonder what the function is for?
I want it to be. No one else has such a function.
Do you have a function that does something, but does not give the result to anyone?
I don't get it: according to the help, int is not a function, but a type.
I want it to be. No one else has such a function.
Do you have a function that does something, but does not give the result to anyone?
Well, I was just counting on some understanding of programming. I couldn't even imagine that int could be understood as a function name...