Problem Starting Out

Using the “Corona in 5 minutes” tutorial I’m trying to learn how to start out but I can’t seem to get my typing of code to work but if I copy and paste the code from the tutorial then it works, for example

print( “Hello World!” )   (This is copied from tutorial and works)

print( “Hello World!” )   (This is my written code and doesn’t work)

I don’t understand what I’m doing or typing wrong. I currently have a Mac and I’m using Textedit to type this.

Please Help!

Are you getting any error messages?

Yes, it says,

Unexpected symbol near ‘‚’

Well TextEdit may be doing something like using smart quotes instead of ASCII quotes.  Most developers won’t use TextEdit because it’s really for writing documents and notes and not code.

There are free editors you can install like TextWrangler or Komodo Edit that work really well, or you can download and try Sublime Text 3, our recommended editor.  It’s a paid package, but they let you pretty much try it as much as you want. It will nag you occasionally to buy it, but it’s really good.

Rob

Are you getting any error messages?

Yes, it says,

Unexpected symbol near ‘‚’

Well TextEdit may be doing something like using smart quotes instead of ASCII quotes.  Most developers won’t use TextEdit because it’s really for writing documents and notes and not code.

There are free editors you can install like TextWrangler or Komodo Edit that work really well, or you can download and try Sublime Text 3, our recommended editor.  It’s a paid package, but they let you pretty much try it as much as you want. It will nag you occasionally to buy it, but it’s really good.

Rob