how can I print the question mark "

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  09 September 2004
how can I print the question mark "

here is my problem:

I want to make a string array variable who contain the name of the selected CV of my nurbsPlan.
so i use this:
string $sel[] = `ls -sl -flatten`;

I want to print the CV's name in the following way: "[0][0]",
In order to use it in a procedur

i can print this:[0][0],
but not this: "[0][0]",

so how can I print the quotation mark (") ? //I don't realy know the english word for the symbol "

naturally maya can't understand to print like this: """ + $sel + """ + ","

So is there a trick for print the " or it's simply impossible?
escuse my bad english
  09 September 2004
You need to escape them in order to print them as a regular character.

print(" \"[0][0]\";");

should print

  09 September 2004
wow that's exaclty what I expected!!
thanks a lot

however I can't find anything about this in the maya help.
escuse my bad english
  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 06:21 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.