PDA

View Full Version : G6 webserver



mhund
August 10th, 2015, 11:03 AM
Hello,

still fighting against the changes from G5 to G6 :-( It is a harder job than I expected.

Currently I try to reuse my G5 web pages but nothing works as before. Is is possible, that variables which are defined in the LUA code in web page are no longer global but local?

Ron
August 10th, 2015, 12:07 PM
Girder 6 is a major overhaul yes.

Variables are local indeed. Use _G.<yourvariablename> to write to the global state

mhund
August 11th, 2015, 04:05 PM
got it running. Thank you.