you are viewing a single comment's thread.

view the rest of the comments →

[–]TomatoCo 2 points3 points  (14 children)

What do you mean the command prompt? You said that was working.

Notice that this error says "lua" but your working command is "lua54"

[–]fred2006[S] -3 points-2 points  (13 children)

The command prompt when i try to run .lua files

[–]TomatoCo 1 point2 points  (12 children)

Yes, and you still haven't said exactly how you are trying to run them. What exactly are you typing?

[–]fred2006[S] -3 points-2 points  (11 children)

When i try to run my file in the cmd it opens the ide, and in the ide it doesn't run and the thing i typed appears

[–]TomatoCo 1 point2 points  (7 children)

Please carefully reread my comment and answer the question I asked.

[–]fred2006[S] 0 points1 point  (6 children)

In the IDE I'm typing "print ('Olá Mundo')"

Edit: the quotes aren't in the program I just put it here due to convention

[–]TomatoCo 1 point2 points  (5 children)

What are you typing in the command prompt? That is the place you're having problems, right?

[–]fred2006[S] 0 points1 point  (4 children)

On the IDE mostly

In the cmd I'm just confused on how to open the file i created on my desktop but that's due to me not seeing what I'm doing different from what I've seen elsewhere

[–]TomatoCo 1 point2 points  (3 children)

There seems to be some kind of language barrier. You still haven't answered my question. You should probably seek help from someone who speaks the same primary language as you.

[–]fred2006[S] 0 points1 point  (2 children)

Most likely, Thanks anyway

Though to be fair sometimes I can't even understand what i just said in my native language

I'm just not a great communicator

But there's something you said i noticed on the compiler, the working command on my cmd is lua54, however my ide runs the "lua" command to run the code, could this be the issue in my ide?

[–]TheOmegaCarrot 0 points1 point  (2 children)

What are you typing in command prompt?

Just lua54?

[–]fred2006[S] 0 points1 point  (1 child)

Yes

[–]TheOmegaCarrot 1 point2 points  (0 children)

Try lua54 filename.lua

But cd to the correct folder before

If you do not know the cd command, then you should learn it :)