February 28, 20233 yr Hello, I don't think so, but I never tried. WRobot uses a lot of Windows APIs, and a Windows specific language, there is really little chance that it will work with a Windows emulator.
March 2, 20233 yr I have tried on MacOS with WineSkin (the WOW works well but WRobot). It seams like WRobot write by C#, which version of C# it supported? I do run some code like this,but it failed. var hello = "hello world"; Lua.LuaDoString($@" local index = string.find(hello,h"); "); how to pass it to lua?thanks. On 2/28/2023 at 5:33 PM, Droidz said: Hello, I don't think so, but I never tried. WRobot uses a lot of Windows APIs, and a Windows specific language, there is really little chance that it will work with a Windows emulator.
March 2, 20233 yr .net Framework 4.x (4.5 minimum). You can't use "$", bot compiler use old C# compiler (you can't use the new language features, or, you need previously to compile your code in dll). You can run your Lua code like that : var hello = "hello world"; Lua.LuaDoString(@" local index = string.find('" + hello + @",h'); "); or var hello = "hello world"; Lua.LuaDoString("local index = string.find('" + hello + ",h');");
June 13, 20232 yr On 3/2/2023 at 5:26 PM, Droidz said: .net Framework 4.x (4.5 minimum). You can't use "$", bot compiler use old C# compiler (you can't use the new language features, or, you need previously to compile your code in dll). You can run your Lua code like that : var hello = "hello world"; Lua.LuaDoString(@" local index = string.find('" + hello + @",h'); "); or var hello = "hello world"; Lua.LuaDoString("local index = string.find('" + hello + ",h');"); thanks for your reply. my apologies for the delay.
Create an account or sign in to comment