lua-users home
lua-l archive

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


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

Yes that does work, never mind that that enables all sorts of
atrocities, and in general this pattern of programming should be
avoided.

Timothy