fholm / IronJS

IronJS - A JavaScript implementation for .NET
http://ironjs.wordpress.com
Apache License 2.0
680 stars 79 forks source link

Execution in memory #109

Open Thejuster opened 7 years ago

Thejuster commented 7 years ago

Hello i have a question.

is possibile for IronJS after loaded file type LUA, call same script for example in while and increment variabile contains in the script?

example

C#

`while(true)
{
js.Execute("Update();");
}`

JS:

function Update()
{
   i++;

  Bitmap.Draw(image,x + i,y);

}