HI,
Before starting to explain my problem, I want to excuse myself for the poor quality of my text, English is not my primary language. Secondly, I want to say a big thank you for this awesome scripting language.
I have a small problem with byte code loading, the LoadByteCode function is returning me -1 when my function have some lines of code.
The example that I made is made like this; If main.as exist, it compile the text and create a bin.asc that is the script in byte code and it runs the script. If the main.as doesn't exist, it reads the byte code. So if you want to compile, name your script file main.as and to run the programme, and for testing the byte code delete the main.as.
So here is the code that is reproducing my problem, I tried to reduce it as I can and the code quality is very poor: http://pastebin.com/v425HHaJ
So the problem is this. When I use this code with a script simple as this:
//as script