Le mercredi 25 mars 2009 16:07:11 M0E.lnx, vous avez écrit :
> I need a way to logically analize version numbers in gambas.
>
> For instance, I have a list of available versions of the same program,
> let's say the list is
>
> 1.2
> 1.4
> 1.6
> 1.10
> 1.16
> 1.20
> 1.35
> 1.5
> 1.3
> 1.1
>
> These are of course in no particular order. A human knows that out of all
> of these, version 1.35 would be the greater value.
>
> How can I make gambas analyze this?

I guess, in these cases, you can use the Val() function.

http://64.128.110.55/help/lang/val

Regards,


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to