First sorry because my english is bad, so thank you for doing the reading effort.
I have some idea for FA mods and i want to create them, for information i have already using lua for scripting (crysis war on server side) so i'm not totally noob but not so good too

I have find a quick reference here: http://supcom.wikia.com/wiki/LUADOC_1.5.3599
So i want to do some test with GetUnitsInRect()
When i try to call it i have a message error : "access to nonexistent global..."
No problem: i search in all Lua file the GetUnitsInRect déclaration location and next i import the function. But i don't see the declaration anywhere.
In wiki this function is under "Sim.<global>"
My question is pretty simple finally: how to call a function declared under "scope" like Sim.<global> for example ?
I'm sure is quite simple but i'm totally blocked with that.
Best Regard,
asimov59