Is this expected behavior? If I append an uninitialized variable to print, it shows a random value. If I try to print the variable on its own, it gives me an error:
> print("hello")
hello
> print("hello "..x)
hello 9223372036854775807
> print(x)
syntax_error: stdin:1: 'x' undeclared (first use in this function)
It seems like the system should throw an error for the appended print, too.
Hi.
Is this expected behavior? If I append an uninitialized variable to print, it shows a random value. If I try to print the variable on its own, it gives me an error:
It seems like the system should throw an error for the appended print, too.