[Gambas-user] Unsubscribe kdogordinho at ...494... falcon9002

Clayton kdogordinho at ...494...
Mon Mar 6 15:48:53 CET 2006


----- Original Message ----- 
From: <gambas-user-request at lists.sourceforge.net>
To: <gambas-user at lists.sourceforge.net>
Sent: Monday, March 06, 2006 1:02 AM
Subject: Gambas-user digest, Vol 1 #1738 - 2 msgs


> Send Gambas-user mailing list submissions to
> gambas-user at lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> or, via email, send a message with subject or body 'help' to
> gambas-user-request at lists.sourceforge.net
> 
> You can reach the person managing the list at
> gambas-user-admin at lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gambas-user digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: unknown identifer: Array ??? bug? (ron)
>    2. Re: sql query year problem (Rob Kudla)
> 
> --__--__--
> 
> Message: 1
> From: ron <ronstk at ...239...>
> To: gambas-user at lists.sourceforge.net
> Subject: Re: [Gambas-user] unknown identifer: Array ??? bug?
> Date: Mon, 6 Mar 2006 02:25:05 +0100
> Reply-To: gambas-user at lists.sourceforge.net
> 
> On Monday 06 March 2006 00:00, Lorenzo Tejera wrote:
> > Perhaps night confuse me, but I probed the gambasdoc example in version
> > 1.9.25 and 1.9.26
> >=20
> >   PRINT Object.Type(Array(2.4, 3, 3.2))
> >=20
> > With this result as
> >=20
> > unknown identifer: Array ???
> >=20
> > so Array not works in the last version ? is a bug?
> >=20
> > I need to sleep more
> > lorenzo
> >=20
> 
> You got answer from Benoit:
> 
>   Array() was removed in the last development version. Use '[' & ']'.
> 
> @Benoit:=20
> The Array() construction is more basic as the java '[' & ']' version.
> Now the documentation is, i'm afraid, wrong on many places in the wiki.
> 
> =2D----------------------
> >DIM myBla AS String[]
> >
> >=A0myBla =3D Array["0", "1", "2", "3"]
> >
> >with [] not work , gambas 1.9.26 , unknown identifier array
> >
> >regards
> >
> >lorenzo
> 
> Read carefull after comma ->> _unknown identifier array_
> The interpreter does not know array with '(' or '['
> 
> =2D---------------------
> >Perhaps something like that :-)
> >
> >PUBLIC SUB Main()
> >
> >=A0 DIM toto AS String[]
> >=A0=20
> >=A0 toto =3D ["ee", "aa", "bb"]
> >=A0=20
> >=A0 PRINT Object.Type(["ee", "aa", "bb"])
> >=A0=20
> >END
> 
> you have got that message because you answer
> 
> > Perhaps night confuse me, but I probed the gambasdoc example in version
> > 1.9.25 and 1.9.26
> >
> >=A0  PRINT Object.Type(Array(2.4, 3, 3.2))
> >
> > With this result as
> >
> > unknown identifer: Array ???
> >
> > so Array not works in the last version ? is a bug?
> >
> > I need to sleep more
> > lorenzo
> 
> Why are you using       ->> PRINT Object.Type(Array("ee", "aa", "bb"))
> as the example told you ->> PRINT Object.Type(["ee", "aa", "bb"])
> 
> and still no light ->> > unknown identifer: Array ???
> note: you using the (latest) development version.
> 
> Try exact the example from Laurent Carlier, that should work.
> 
> Sleep well and tomorrow fresh again :)
> 
> Ron
> 
> 
> --__--__--
> 
> Message: 2
> From: Rob Kudla <sourceforge-raindog2 at ...94...>
> To: gambas-user at lists.sourceforge.net
> Subject: Re: [Gambas-user] sql query year problem
> Date: Sun, 5 Mar 2006 22:35:28 -0500
> Reply-To: gambas-user at lists.sourceforge.net
> 
> On Sun March 5 2006 09:14, Rohnny Stormo wrote:
> > Looking for a solution to select records from a choosen year.
> > Would be perfect if the same sql works for postgres and
> > sqlite3 In MsSql it would be done like this.
> > SELECT id, dato FROM mytable WHERE year(dato)=2006
> 
> Date functions aren't part of the SQL specification, as far as I 
> know, and Sqlite has a much more minimal syntax than traditional 
> database servers.  Any way you slice it, you're gonna have to do 
> something like
> 
> SELECT id, dato FROM mytable WHERE strftime('%Y',dato) = '2006'
> 
> for Sqlite, while 
> 
> SELECT id, dato FROM mytable WHERE year(dato)=2006
> 
> should work with MySQL.
> 
> Rob
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
> End of Gambas-user Digest

		
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com





More information about the User mailing list