generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Diffrent punctuation marks

Previous Thread :: Next Thread 
gmatch is not online. gmatch
Joined: 21 May 2014
Total Posts: 1173
09 Jun 2016 11:34 PM
What's the diffrent from an apostrophe and quotation marks?

Example:

local string = 'Hello'

local string2 = "Greetings"


Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
09 Jun 2016 11:37 PM
one has 2 dots one has only 1


r+://393244197r+://393244224r+://393244262
Report Abuse
Brick_Wizard is not online. Brick_Wizard
Joined: 15 Mar 2016
Total Posts: 2072
09 Jun 2016 11:37 PM
As far I know its just quicker though its better imo to use the second one as if u try wanted to say:

Bob's house

if you were using "Hello' it would then stop between b and s as there is a ' there.


Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
09 Jun 2016 11:39 PM
just use tostring


r+://393244197r+://393244224r+://393244262
Report Abuse
0supadude0 is not online. 0supadude0
Joined: 11 Aug 2010
Total Posts: 649
10 Jun 2016 12:19 AM
Just different notation I believe
You can also use double square brackets for multiple line strings

local s = [[
Is this the real life
Is this just fantasy
]]

print(s)
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
10 Jun 2016 12:45 AM
I like using ' instead of " because it's much quicker and it looks cleaner I only use " when I have use with something like this: "It's an apple."
Report Abuse
Ozmozian is not online. Ozmozian
Joined: 26 Mar 2016
Total Posts: 358
10 Jun 2016 01:06 AM
Has anyone noticed that
1) he spelled different wrong
2) quotation marks and apostrophes aren't even punctuation marks?!


Report Abuse
Grevok is not online. Grevok
Joined: 07 Jul 2013
Total Posts: 1652
10 Jun 2016 01:27 AM
"string" 'individual'
Report Abuse
Grevok is not online. Grevok
Joined: 07 Jul 2013
Total Posts: 1652
10 Jun 2016 01:28 AM
In JavaScript however, not using a "hi" or a 'bye' can screw up your whole code
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image