0 votes

hai im new to coding, i know "strings" <-- this mean strings. but what does 'this' mean ?

example :

var classScope = 'Class Scope'

func scope():
-> for i in 1 :
-> -> print ('Class Scope: ', classScope)

Godot version 3.2.1
in Engine by (68 points)

1 Answer

+2 votes
Best answer

There is no difference. It's just that you can use ' and " inside of each other in order to have quotation marks in a string without having to escape them.

by (7,769 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.