Indigo Rose Software

Go Back   Indigo Rose Software Forums > Setup Factory 8.0 > Setup Factory 8.0 Suggestions

Reply
 
Thread Tools Display Modes
  #1  
Old 12-11-2008
SetupJuggler SetupJuggler is offline
Indigo Rose Customer
 
Join Date: Nov 2008
Location: Göttingen, Germany
Posts: 62
Suggestion: compare versions with different delimiters

Hi,
using SUF 8.1.1006.0

Our company product versions look like "xx.xx-zz", sometimes "xx.yy-zz.aa". To compare I use String.CompareFileVersions, but I have to replace "-" to "." before.

My suggestion is to have String.CompareFileVersions with a third optional parameter "Delimiter", with the default value ".".

Prototype:
number String.CompareFileVersions (string Version, string CompareTo, string Delimiter = "." )

Example for my case:
Code:
compare_version = String.CompareFileVersions( "1.23-04", "1.23-05", ".-")
-- compare_version results in -1
Best Regards
Udo
Reply With Quote
  #2  
Old 03-02-2009
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
Thanks for the suggestion.

REF: 18347
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare File Versions - String to Number Problems Dnixon TrueUpdate 3.5 Discussion 4 02-05-2008 12:23 PM
legacy files seem to behave wrong for multi versions rjfioravanti Visual Patch 3.5 Discussion 1 11-12-2007 02:04 PM
Big issue while comparing versions pedro arzac TrueUpdate 2.0 6 11-15-2006 01:42 PM
Comparing File Versions raynebair Setup Factory 6.0 3 04-02-2004 09:41 AM
detecting versions of Reader and Powerpoint? reinhat AutoPlay Media Studio 4.0 9 09-03-2002 09:56 AM


All times are GMT -6. The time now is 07:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software