lua-users home
lua-l archive

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


On 10/18/11, Patrick Mc(avery <patrick@spellingbeewinnars.org> wrote:
>
> It should be easier for a single developer to split code between files.
>

In C, is it possible to do something like this?

int function(int a){
  int b;
  #include "other_file.h"
  return a + b;
}

// other_file.h
b = 42;