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.re...@fen-net.de> wrote: > > Salut, > > > > did I miss something, or is that a bug : > > > > on xterm : > > > > m...@my:~$ 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 ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user