Mikolaj Machowski wrote:

> Dnia Saturday 12 of April 2008, Bram Moolenaar napisa³:
> > Here is an update for the floating point patch.  The 'g' argument for
> > printf() was implemented and a few bug fixes.
> >
> > This is to be applied to the original source code, without the older
> > floating point patch.
> >
> One thing: 
> let a = &1.2
> let b = string(b)

You mean:  let b = string(a)

> let c = eval(b)
> 
> There is workaround with str2float but should be mentioned with
> string() and/or eval() help.

I'll fix string() to put a '&' before a Float.  That will fix it.

> Also to eval() help could be added that it works also with Lists and
> Dictionaries.

It mentions: This works for Numbers, Strings and composites of them.
List and Dictionaries are composites.

-- 
E  M  A  C  S
s  e  l  o  h
c  t  t  n  i
a  a     t  f
p        r  t
e        o
         l

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui