Re: [Gambas-user] To wish list; optional compiler warning

2011-09-10 Thread Fabien Bodard
2011/9/9 Jussi Lahtinen jussi.lahti...@gmail.com: What's that supposed to do? Catch doesn't do catch anything since missing byref doesn't rise error! Jussi it not for missing data but for the routine that modify the byref data ... if this algoritm fail ... it return true so i know if the

Re: [Gambas-user] To wish list; optional compiler warning

2011-09-10 Thread Jussi Lahtinen
I have no clue what this has to do with issue I'm talking about. Jussi On Sat, Sep 10, 2011 at 22:35, Fabien Bodard gambas...@gmail.com wrote: 2011/9/9 Jussi Lahtinen jussi.lahti...@gmail.com: What's that supposed to do? Catch doesn't do catch anything since missing byref doesn't rise

Re: [Gambas-user] To wish list; optional compiler warning

2011-09-10 Thread Jussi Lahtinen
I added ByRef to Gambas only to help porting VB projects. In other cases, just don't use it, even if you find it more practical. What is the alternative then? Pass variables as pointers? Making almost needless class for couple variables doesn't seem good option... Jussi

[Gambas-user] Creating database in Gambas3

2011-09-10 Thread M. Cs.
Hi! I want to port my G2 application to G3. I would like to know what are the news for database handling in G3. 1. How to check whether a sqlite database exist? 2. How to create a database? 3. Can I use DB.Exec() for table creation or is there another preferred way to do it? Thanks! Csaba

[Gambas-user] Issue 104 in gambas: Byte[].FromString does not work

2011-09-10 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 104 by emil.len...@gmail.com: Byte[].FromString does not work http://code.google.com/p/gambas/issues/detail?id=104 1) Describe the problem. The static function

[Gambas-user] gb3: writing variables to a string using a memory stream and pointer

2011-09-10 Thread Kevin Fishburne
My code looks like this: ' For writing outgoing UDP data to memory. Public data As String Public mem As Stream ' Create data string for outgoing transaction queue. data = Space(8) mem = Memory VarPtr(data) For Write mem.Begin Write #mem, (Server.DateCurrent + Server.DateUTC) As Float mem.Send