PC Review


Reply
Thread Tools Rate Thread

What is this

 
 
Tony Johansson
Guest
Posts: n/a
 
      8th Jul 2011
Hello!

When doo I need this construction write '"name"' ?

//Tony


 
Reply With Quote
 
 
 
 
Arne Vajhøj
Guest
Posts: n/a
 
      9th Jul 2011
On 7/8/2011 5:13 PM, Tony Johansson wrote:
> When doo I need this construction write '"name"' ?


Can you give a little bit more context?

Arne


 
Reply With Quote
 
Tony Johansson
Guest
Posts: n/a
 
      9th Jul 2011

"Arne Vajhøj" <(E-Mail Removed)> skrev i meddelandet
news:4e1792ce$0$303$(E-Mail Removed)...
> On 7/8/2011 5:13 PM, Tony Johansson wrote:
>> When doo I need this construction write '"name"' ?

>
> Can you give a little bit more context?
>
> Arne
>
>


This name is a field in a class.
What is the difference if I write name or 'name'

//Tony


 
Reply With Quote
 
Arne Vajhøj
Guest
Posts: n/a
 
      10th Jul 2011
On 7/9/2011 6:50 AM, Tony Johansson wrote:
> "Arne Vajhøj"<(E-Mail Removed)> skrev i meddelandet
> news:4e1792ce$0$303$(E-Mail Removed)...
>> On 7/8/2011 5:13 PM, Tony Johansson wrote:
>>> When doo I need this construction write '"name"' ?

>>
>> Can you give a little bit more context?

>
> This name is a field in a class.
> What is the difference if I write name or 'name'


name compiles while 'name' does not??

Arne

 
Reply With Quote
 
Rick Lones
Guest
Posts: n/a
 
      10th Jul 2011
Tony Johansson wrote:
> "Arne Vajhøj" <(E-Mail Removed)> skrev i meddelandet
> news:4e1792ce$0$303$(E-Mail Removed)...
>> On 7/8/2011 5:13 PM, Tony Johansson wrote:
>>> When doo I need this construction write '"name"' ?

>> Can you give a little bit more context?
>>
>> Arne
>>
>>

>
> This name is a field in a class.
> What is the difference if I write name or 'name'


Then name (according to you) is the identifier of a field in a class. Whereas
'name', on its face, appears to be an invalid character literal. They would not
be interchangeable syntactically. And so your question seems to make no sense
at all.
 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      11th Jul 2011
"Tony Johansson" <(E-Mail Removed)> writes:
> "Arne Vajhøj" <(E-Mail Removed)> skrev i meddelandet
> news:4e1792ce$0$303$(E-Mail Removed)...
>> On 7/8/2011 5:13 PM, Tony Johansson wrote:
>>> When doo I need this construction write '"name"' ?

>>
>> Can you give a little bit more context?

>
> This name is a field in a class.
> What is the difference if I write name or 'name'


You originally wrote name enclosed in double quotes, then enclosed in
single quotes. In your followup, you wrote name includes in just single
quotes, which is quite different.

My best guess is that you saw
'name'
or
"name"
in a book something, and that you were supposed to remove the quotation
marks -- just as if I told you to say "hello", I wouldn't expect you to
say "quote hello quote".

You'll need to give more context. Where did you see name in quotation
marks, what *exactly* did it look like, and what did the surrounding
text say?

--
Keith Thompson (The_Other_Keith) kst-(E-Mail Removed) <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:29 PM.