Just pointing out that you can not use hyphens (I mean the character ' ), not singular or several in a row anywhere in ArmA scripts other than inside strings.
And if you call compile whatnot any string with ' in it you're doomed..
Having wrong characters in the code usually result in "missing [" errors.