Jump to content

Recommended Posts

Posted

Hey,

´=´ expected come when i want to start my programm at ComputerCraft

do you know any Solution?

I'm going to guess that you probably need an "=" somewhere. Posting your code would, indeed, be most helpful.

Posted

Without knowing what the code says, it's difficult to say for sure. But my guess is that you've put "=" somewhere where you meant to put "==", or vice versa. "=" sets a variable to a given value, whereas "==" is a way of comparing it to check if it's equal. For example,

local cowinparachute = "handsome"

This would set the local variable "cowinparachute" with the value of "handsome".

if cowinparachute == "handsome" then

This would check that the local variable "cowinparachute" is equal to "handsome".

The error message that comes up should also come with a number before it. This is the line number where the error takes place. Look it up, and you should be able to fix it pretty quickly.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...