[Gambas-user] did I miss something, or is that a bug
Charlie Reinl
Karl.Reinl at ...2345...
Sun Feb 14 16:23:20 CET 2010
Am Sonntag, den 14.02.2010, 16:41 +0200 schrieb Jussi Lahtinen:
> What are you trying to do?
>
> ~$ gbx2 -e 1+1
> result: 2
>
> ? eval("1+2")
> result: 3
>
> http://gambasdoc.org/help/lang/eval
>
> Jussi
>
>
>
>
> On Sun, Feb 14, 2010 at 13:17, Charlie Reinl <Karl.Reinl at ...9...> wrote:
> > Salut,
> >
> > did I miss something, or is that a bug :
> >
> > on xterm :
> >
> > me at ...2378...:~$ gbx2 -e /tmp/testArchivCopy.pdf
> > Unexpected '/'
> >
> > at IDE Debug
> > ? eval("/tmp/testArchivCopy.pdf")
> > Unexpected '/'
> >
> > ? eval("/tmp/testArchivCopy_" & Format(Date(), "yyyymmdd") &
> > Replace(CStr(Time()), ":", "") & ".pdf")
> > Unexpected '/'
> >
> > --
> > Amicalement
> > Charlie
> >
> > [OperatingSystem]
> > OperatingSystem=Linux
> > KernelRelease=2.6.24-27-generic
> > DistributionVendor=Ubuntu
> > DistributionRelease="Ubuntu 8.04.4 LTS"
> >
> > [System]
> > CPUArchitecture=i686
> > TotalRam=506932 kB
> >
> > [Gambas]
> > Gambas1=gbx-1.0.17
> > Gambas1Path=/usr/bin/gbx
> >
> > Gambas2=2.20.0 Revision: 2697
> > Gambas2Path=/usr/local/bin/gbx2
> >
> > Gambas3=2.99.0 Revision: 2648 (can't compile actually)
> > Gambas3Path=/usr/local/bin/gbx3
> >
Salut,
I try to work with a string in that case a Path and eval tries to
divide.
--
Amicalement
Charlie
More information about the User
mailing list