1. Re: Anybody Interested in this...

Here's an example:
x.ex
atom x x = 1
if x then
include x1.e
end if
puts(1, x)
while get_key() = -1 do end while


x1.e
global atom x
x = 50


It will crash with an error because you cannot include files in an if block.
With Lua, replace the "include x.e" with "lua_dofile("x.lua")" and it will run
all right.

Later,
Jeremy Peterson.

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu