lua_run hello.lua

Gr4Ss

Proton
Joined
Apr 26, 2016
Messages
499
Nebulae
1,107
[Something is creating script errors!]
ERROR
Cannot implicitly compare type string to type float!



can you tell ive been working with c# lately
sort of.

guess what I have been working with
Exception in thread "main" java.lang.NullPointerExceptionat
java.io.Writer.write(Writer.java:157) at
java.io.PrintStream.write(PrintStream.java:462) at
java.io.PrintStream.print(PrintStream.java:584) at
java.io.PrintStream.println(PrintStream.java:700) at
...

Lua doesn't need ;
loser.
good practice, plus it means you don't get errors on the wrong line ever
 

Zak

Resident xenophile
Joined
Apr 26, 2016
Messages
5,887
Nebulae
16,124
sort of.

guess what I have been working with
Exception in thread "main" java.lang.NullPointerExceptionat
java.io.Writer.write(Writer.java:157) at
java.io.PrintStream.write(PrintStream.java:462) at
java.io.PrintStream.print(PrintStream.java:584) at
java.io.PrintStream.println(PrintStream.java:700) at
...
i don't envy you in the slightest
 

Zak

Resident xenophile
Joined
Apr 26, 2016
Messages
5,887
Nebulae
16,124
tbh it is a big project, I'm happy we are doing it in a statically compiled language instead of a scripting language. Once stuff compiles it tends to work.
unless of course it compiles and still doesn't work, then it's a bitch and a half to find out why
 

Gr4Ss

Proton
Joined
Apr 26, 2016
Messages
499
Nebulae
1,107
unless of course it compiles and still doesn't work, then it's a bitch and a half to find out why
nah, System.out.println tends to do the trick quite easily. And I've only had to do that once so far. We have a shitton of unit tests though, which helps in finding basic errors.
 

Zak

Resident xenophile
Joined
Apr 26, 2016
Messages
5,887
Nebulae
16,124
nah, System.out.println tends to do the trick quite easily. And I've only had to do that once so far. We have a shitton of unit tests though, which helps in finding basic errors.
lucky, i've been working on an API that uses js, html, and c#

mixing those three has not been fun for me, especially since i barely know how the fuck to do anything
 

Peter Green

Good People, Good Times
Joined
Apr 26, 2016
Messages
835
Nebulae
1,202
hellohellohello, hope you enjoy your glorious stay here.
 

Vaz

Still a sleep deprived gay, just older
HL2 RP Administrator
Joined
Apr 26, 2016
Messages
1,174
Nebulae
1,847
GRASS! THEY MADE FRUNDTECH DO I SMELL SIX?