AndyMK Posted March 11, 2012 Share Posted March 11, 2012 After an uphill battle with LE and Purebasic, i decided it was time to jump into a new language. Lua seems pretty easy but i am having the most basic problems. RegisterAbstractPath is not recognised as a command. The scripts in the games folder do not run and give the error "attempt to index global 'fw'" or "access violation". Am i missing something here? Quote Link to comment Share on other sites More sharing options...
AndyMK Posted March 11, 2012 Author Share Posted March 11, 2012 I just realized that if i start the command with a capital letter, it works. I actually have to punctuate each command? The other errors still exist. Quote Link to comment Share on other sites More sharing options...
AndyMK Posted March 11, 2012 Author Share Posted March 11, 2012 Ok, i just realized that the scripts in the games folder are used in the editor. Quote Link to comment Share on other sites More sharing options...
Canardia Posted March 11, 2012 Share Posted March 11, 2012 You can use the Editor scripts also standalone if you add a few lines at the beginning: RegisterAbstractPath(""); Graphics(640,480); fw=CreateFramework(); Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.