Need help with an issue

  • Thread starter Thread starter Toxic_Cookie
  • Start date Start date
T

Toxic_Cookie

Guest
Alright so before I begin I would like to say that I'm sorry for not being a C# elitist.

I'd also like to say that I'd prefer to type out:

print("Hello, world!")

<g class="gr_ gr_56 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="56" id="56">than</g> to type out:

using System;
using System.Collections.Generic;
using System;
using System.Text.RegularExpressions;

namespace HelloWorld
{
public class Program
{
public static void Main(string[] args)
{
//Your code goes here
Console.WriteLine("Hello, world!");
}
}
}

With that being said, it should be clear that I'm just a beginner.

I have chosen Lua as my first programming language for the equally obvious reason that it's simple and easy to learn.

So I followed a tutorial and successfully installed Lua 5.3.5. (Luarocks refused to believe that 5.3.5 was a valid directory though so that kinda sucks but, whatever.)

Since I do plan on learning C# sooner or later I have visual studio installed.

I also installed 3 extensions that aid me in using Lua they're called: Code Runner, NPL_LuaLanguageService, and Syntax Highlighting Pack.

So I tried to just type in: print("Hello, world!") and then did CTRL+ALT+N to run it as you do.

(I felt pretty iffy about this part so if someone could walk me through the exact process of making a new thing to execute code that'd be great.)

Only to be met with the cmd window telling me: "Lua: cannot open Hello: No such file or directory"

Considering everything I had to do to try and make this work only for it not to, is quite frustrating which is why I'm on here praying somebody knows how to help me and that they're willing to help teach a noobie like me.

P.S. I did do a lot of research and found that visual studio code could help me but, I've already got visual studio installed so surely that can do everything it can and more. Although it could be a different process.

Continue reading...
 
Back
Top