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 CLOSED
 
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: "nurbsPlan.cv[0][0]",
In order to use it in a procedur

i can print this: nurbsPlan.cv[0][0],
but not this: "nurbsPlan.cv[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(" \"nurbsPlan.cv[0][0]\";");

should print
"nurbsPlan.cv[0][0]"


--g
 
  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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 05:34 PM.


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