Old 29th March 2007, 13:20   #1
xirisone
Junior Member
 
Join Date: Feb 2007
Posts: 19
Difference of 'some valaue' and "some value"

Hi there,

is there a difference between 'xxxx' and "xxxx" ?

E.g. will the following samples work differently?

${If} $0 == 'some value'
; do something
${EndIf}

${If} $0 == "some value"
; do something
${EndIf}

TIA,
xirisone
xirisone is offline   Reply With Quote
Old 29th March 2007, 14:25   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Between 'xxxx' and "xxxx" there is not difference, check out the manual,

http://nsis.sourceforge.net/Docs/Chapter4.html#4.1

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 29th March 2007, 14:47   #3
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Re: Difference of 'some valaue' and "some value"

Quote:
Originally posted by xirisone
Hi there,

is there a difference between 'xxxx' and "xxxx" ?

E.g. will the following samples work differently?

${If} $0 == 'some value'
; do something
${EndIf}

${If} $0 == "some value"
; do something
${EndIf}

TIA,
xirisone
Well...there's ony way to find out... try try try


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump