Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 8th April 2006, 11:05   #1
empezar
Senior Member
 
empezar's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 114
time plugin problem

$3 == modified time of a file
$1 == modified time of another file

${time::MathTime} "second($3) - second($1) =" $2

$2 does not return anything

can anyone help me with this one?
empezar is offline   Reply With Quote
Old 8th April 2006, 11:29   #2
Instructor
Major Dude
 
Join Date: Jul 2004
Posts: 665
code:
MessageBox MB_OK "{$3}\n{$1}"
${time::MathTime} "second($3) - second($1) =" $2

What message box shows?
Instructor is offline   Reply With Quote
Old 8th April 2006, 12:04   #3
empezar
Senior Member
 
empezar's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 114
I found the error, the same way you did Instructor.

$1 contained $\r$\n at the end of the string
empezar is offline   Reply With Quote
Reply
Go Back   Winamp 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