chrisklume 0 Posted February 28, 2023 Share Posted February 28, 2023 Hello, can we launch the program on linux ? Link to comment Share on other sites More sharing options...
Droidz 2708 Posted February 28, 2023 Share Posted February 28, 2023 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. Link to comment Share on other sites More sharing options...
libai 2 Posted March 2, 2023 Share Posted March 2, 2023 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. Link to comment Share on other sites More sharing options...
Droidz 2708 Posted March 2, 2023 Share Posted March 2, 2023 .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');"); Link to comment Share on other sites More sharing options...
libai 2 Posted June 13, 2023 Share Posted June 13, 2023 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. Link to comment Share on other sites More sharing options...
chrisklume 0 Posted November 5, 2023 Author Share Posted November 5, 2023 i'm on windows now ^^ but htanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now