lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Duke Normandin once stated:
> Is there a recommended structure?
> Functions first?
> Then "main" program body?
> Is a "main" function necessary/recommended?
> Anything else?

  There is no prescribed way to do it, but if you want to see an example, I
do have a gopher server you can look at:

	https://github.com/spc476/port70/blob/master/port70.lua

This is the main entry point to the server.

  -spc