Jump to content
UBot Underground

When Should I Be Using Quotes?


Recommended Posts

Hello,

 

I am unsure when I should be hitting the quote button in my nodes. I ran into an issue yesterday where it came in handy so I *think* I understand it but just wanted to learn of the best practices.

My issue yesterday was that I was outputting a user & pass to a text file in the form of user / pass. When I didn't use the quotes it got an error because it tried dividing. Should I be using quotes on everything that won't be used in calculations or is it more of a quote as you need basis like my above example?

 

Thanks guys <3

Link to post
Share on other sites

Hello,

 

I am unsure when I should be hitting the quote button in my nodes. I ran into an issue yesterday where it came in handy so I *think* I understand it but just wanted to learn of the best practices.

My issue yesterday was that I was outputting a user & pass to a text file in the form of user / pass. When I didn't use the quotes it got an error because it tried dividing. Should I be using quotes on everything that won't be used in calculations or is it more of a quote as you need basis like my above example?

 

Thanks guys <3

 

Basically the way it works is that you use quotes for strings (such as saving usernames and passwords), and you don't use the quotes for math expressions.

Link to post
Share on other sites

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.

Loading...
×
×
  • Create New...