0

Is there a kind of function to get a result before starting the function?

21st Jul 2020, 12:47 AM
Marco Schwald
Marco Schwald - avatar
4 ответов
+ 1
You must declare a function before referencing it, so no.
21st Jul 2020, 2:24 AM
Colin Maguire
Colin Maguire - avatar
0
What do you mean? Please elaborate. Functions, methods, intantiation works from top to bottom. You can pass the returned value to the next methods
21st Jul 2020, 12:57 AM
Jay Gilbert Garzon
Jay Gilbert Garzon - avatar
0
So getting stock prices before they are publushed is impossible. Thanks anyway.
21st Jul 2020, 9:50 AM
Marco Schwald
Marco Schwald - avatar
0
? You can always declare a function before the main loop, or did I just interperate your question wrong?
21st Jul 2020, 9:52 AM
Colin Maguire
Colin Maguire - avatar