Code: Select all
use uo;
function PlaySound( a )
endfunctionand when compiling it I get:
C:\games\pol099\scripts>ecompile.exe -C ecompile.cfg.windows -u -a -b
EScript Compiler v1.12
Copyright (C) 1993-2013 Eric N. Swanson
Compiling: C:/games/pol099/scripts/test.src
Error reading function declaration in module uo
Error compiling statement at C:\games\pol099\scripts\test.src, Line 1
Compilation Error:
Near: use uo;
File: C:\games\pol099\scripts\test.src, Line 1
Compilation Summary:
Compiled 1 script in 1719 ms.
1 of those script had errors.