• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How to write " in Jass/vJass

Kazeon

Hosted Project: EC
Level 34
Joined
Oct 12, 2011
Messages
3,449
do you know how to write ( " ) inside two quotations? :3
no? okay here is the trick..

normally, if you write it like this
call BJDebugMsg(" " ")
will cause compile error like
attachment.php


nah, how can you write it?

here is the trick
call BJDebugMsg(" \" ")


:thumbs_up:
 

Attachments

  • a.jpg
    a.jpg
    192.9 KB · Views: 674
Last edited:
Level 30
Joined
Nov 29, 2012
Messages
6,637
Can't say if this is pretty much simple or not seeing I am not a coder myself but let's go to your tutorial's appeal and visual factors which I think is also a component being looked at in tutorials.

Remember, for a tutorial, it would be much required if you are to make your first post or the tutorial itself really formal. Start off with the title written in something that'll make it easy to notice then to your Introduction where you are to describe an intro to your tutorial: what are you teaching, why is this important to know, based on the things you are seeing, are there users here who do not know this and might really serve useful to them and etc.

You will also need some handful knowledge of BB Codes (but actually that is for advance, screenshots are enough actually. It's the information that matters) to make your tutorial much more enjoyable to read at instead of reading through a wall of text that offers nothing to motivate you learning it. Add screenshots to support your statements and etc.

Lastly, the basic one, remove your signature in tutorials by editing your post and unchecking there the Show Signature.
 
Level 14
Joined
Jun 27, 2008
Messages
1,325
There are other things you can/need to escape:
Code:
//
/n
/r

The object editor uses | as escape character, for example |n inserts a line break in tooltips.

If you want to make this a tutorial you should add these things.
 

Kazeon

Hosted Project: EC
Level 34
Joined
Oct 12, 2011
Messages
3,449
oh, okay2.. this is my first tut btw ;)

I will not add anything, I just want to share. you may delete this tut anytime. :grin:

There are other things you can/need to escape:
Code:
//
/n
/r
The object editor uses | as escape character, for example |n inserts a line break in tooltips.

If you want to make this a tutorial you should add these things.
How to write " in Jass/vJass
did you notice that this tut is related to vJass/jass coding? and don't have any relation to the object editor?
 
Last edited by a moderator:
did you notice that this tut is related to vJass/jass coding? and don't have any relation to fkg object editor?

That is how you reply when he is trying to help you to make this into a tutorial ?
The way you have it it is a short description. It is not a tutorial but with these other line breaks / explanations it may become something close enough to a tutorial.

The way you commented though is incredibly rude to someone trying to help.
 
Top