Re: [Gambas-user] Database Results

2010-09-12 Thread Caveat
WHERE clause to preselect only the candidates who can read and write?", "Why do you have a canReadAndWrite column in place of 2 separate canRead and canWrite columns?", "Why isn't canReadAndWrite a boolean?") it does hopefully serve to illustrate just ho

Re: [Gambas-user] Database Results

2010-09-12 Thread Caveat
ed by the same query returning different results in different databases. ISTR something like SQL Server being case-insensitive by default, and HSQLDB not... so running the same "select count(distinct name) from candidates" query resulted in different counts! Hope this helps, and that y

Re: [Gambas-user] Suggestions 4 new keywords

2010-09-17 Thread Caveat
This has given me a headache... we'll see in the next version (?) :-) On Fri, 2010-09-17 at 18:47 +0200, Rolf Schmidt wrote: > Hi Fabien Bodard: > > > la j'ai mal a la tête maintenant ... on véra ça a la prochiane version > > ... to have english version ... try google ;) > > What google transla

Re: [Gambas-user] Numeric operation between strings.

2010-11-08 Thread Caveat
ot;W") If you used the ampersand (&) instead, like this: PRINT CStr(-19776) & CStr(-19776) you'd've gotten the expected(?) result of: -19776-19776 and: PRINT CStr(-19776) & CStr("W") would not fail, but give: -19776W Regards, Caveat On Mon, 2010-11-08 a

Re: [Gambas-user] string operator ==

2010-11-10 Thread Caveat
would have picked this up... I hope!) Thanks and regards, Caveat On Wed, 2010-11-10 at 13:27 +0200, Demosthenes Koptsis wrote: > ok, i upgrated to svn3289 > > and i get i think correct results > > PRINT "abc" == "ab" 'false > PRINT "abc" ==

Re: [Gambas-user] string operator ==

2010-11-10 Thread Caveat
you have to use the ugly and ungainly "some string".equals("some other string") method, which breaks horribly if your string is null... ho hum! Regards, Caveat On Wed, 2010-11-10 at 13:04 +0100, Benoît Minisini wrote: > > Am I missing something here? This would s

Re: [Gambas-user] Edit XML

2010-11-20 Thread Caveat
ot;, "name", "Bill", "id", "b2") rewriter.changeAttribute("/all_characters/characters/heroe", "name", "Tim", "id", "b3") ' Write out the new XML from the changed internal data model (See http://pastebin

Re: [Gambas-user] Edit XML

2010-11-22 Thread Caveat
stebin.com/T0S96xiS) rewriter.writeXML(User.home &/ "dev" &/ "NewHeroes.xml", TRUE, "UTF-8") *** Look at the new XML from the changed internal data model *** parserToModel.getModel().toXMLString() Banana Pudding Hayden Panettiere Rapi

Re: [Gambas-user] Primary Key missing?

2010-11-26 Thread Caveat
hResult = hConnection.Edit("test", "id=&1", 1) hResult["name"] = "Adam" hResult.Update hResult.Commit Regards, Caveat -- Increase Visibility of Your 3D Game App & E

Re: [Gambas-user] Primary Key missing?

2010-11-26 Thread Caveat
led. You can install it by typing: sudo apt-get install sqlite So, do as it says (this is Ubuntu, ymmv): $ sudo apt-get install sqlite Regards, Caveat On Fri, 2010-11-26 at 00:03 +0100, Benoît Minisini wrote: > > hello, > > > > prooving my sqlite code, i have several buttons

Re: [Gambas-user] Result object, again

2010-11-26 Thread Caveat
qlite etc. But you gotta love sqlite for its simplicity, access for it's user-friendliness... lol And, sadly enough, we never used Gambas for any project at work :-( Regards, Caveat -- Increase Visibility of Your 3D

Re: [Gambas-user] list attachments

2011-01-28 Thread Caveat
irect to the mailing list, like I am now, I think attachments will come through OK. You'll soon find out, as popup.tar.gz *should* be attached to this mail. Regards, Caveat On Fri, 2011-01-28 at 01:10 -0800, John Spikowski wrote: > I only seem to be getting image (png) attachments. I have yet

Re: [Gambas-user] Issue 2 in gambas: No native gambas for Windows platforms [OT]

2011-01-28 Thread Caveat
The port has already been done, it's called VisualBasic :-P On Fri, 2011-01-28 at 18:21 +, gam...@googlecode.com wrote: > Updates: > Labels: -Priority-Medium Priority-Low > > Comment #2 on issue 2 by benoit.m...@gmail.com: No native gambas for > Windows platforms > http://code.goog

Re: [Gambas-user] Foreground property in CheckBox doesn't work (gambas3)

2011-02-01 Thread Caveat
ing the RGB box, hope you understand which I mean) is all zeroes. [oops] I just realised I'm testing this on Gambas 2.19, but you never know, it could be the same bug... Regards, Caveat On Tue, 2011-02-01 at 14:49 +0100, Ricardo Díaz Martín wrote: > Hi to all, > > I'm using

Re: [Gambas-user] Using Character constants in Gambas

2011-03-08 Thread Caveat
tory.getDialog(DialogFactory.WarningDialog) PRINT aDialog.dialogType aDialog = DialogFactory.getDialog(5) PRINT aDialog.dialogType Of course, you can add other stuff to the getDialog function, like the dialog name, title etc. etc... What do you think? Regards, Caveat On Mon, 2011-03-07 at 23:09 -0800

Re: [Gambas-user] Using Character constants in Gambas

2011-03-08 Thread Caveat
gFactory.ErrorDialog = 5 PRINT "after: " & DialogFactory.ErrorDialog Regards, Caveat On Tue, 2011-03-08 at 03:07 -0800, vikram wrote: > Hi Caveat, > > Thanks, that is a lot simpler :) > > Best Regards, > Vikram Nair > > > > > --

Re: [Gambas-user] translating planar coordinates relative to point's angle

2011-03-17 Thread Caveat
y based on affines). If you want more background (and it looks like you may need it), he suggested you try this link: http://en.wikipedia.org/wiki/Rotation_%28mathematics%29 Regards, Caveat On Thu, 2011-03-17 at 00:40 -0400, Kevin Fishburne wrote: > On 03/15/2011 05:03 PM, Doriano Blengino wro

Re: [Gambas-user] How can I print my Gambas program code?

2011-03-30 Thread Caveat
ze fanboys might want to look at Notepad++ Regards, Caveat On Tue, 2011-03-29 at 18:11 +0200, Rolf-Werner Eilert wrote: > Am 29.03.2011 17:44, schrieb tobias: > > hi, > > hum, i would consider open your files in a program that can print texts? > > > > regards, > >

Re: [Gambas-user] How can I print my Gambas program code?

2011-03-30 Thread Caveat
(and would have saved quite some time messing with a marker pen if I'd've had an appropriately high-lighted hard-copy!). Regards, Caveat P.S. On the full screen rotation, we're not all being quiet just because we're too lazy or can't be bothered to contribute. It looked

Re: [Gambas-user] HttpClient question, now massively parallel!

2011-03-30 Thread Caveat
, Caveat On Wed, 2011-03-30 at 01:54 +0200, Benoît Minisini wrote: > > It seems that if you call HttpClient twice after each other with > > different urls in async mode, like in example below the _finished event > > is only called once (with the last call/url) > > > >

Re: [Gambas-user] HttpClient question, now massively parallel!

2011-03-30 Thread Caveat
ng requests once all your slots are used up, or maybe just deny requests (note I return -1 if there's no free slot) until something comes free again... Have fun, let me know if anything is not clear. Regards, Caveat P.S. Should I have added a disclaimer that my code is not certified for use in

Re: [Gambas-user] HttpClient question, now massively parallel!

2011-03-30 Thread Caveat
ndering if there isn't a way to programmatically generate the > > event handlers, and have them know which event fired... freeing you from > > the pain of copy-pasting a bunch of one-line SUBs. > > > > You may want to get real fancy and start queuing requests once a

Re: [Gambas-user] Reading XML Attributes.

2011-03-30 Thread Caveat
reader.Node.Name, reader.Node.Value) NEXT The reader object is a standard XmlReader. Let me know if I need to repost the project. Regards, Caveat On Wed, 2011-03-30 at 17:21 +0100, Antonio Cassidy wrote: > Hi All > > I am trying to write a gambas application to parse kismet XML lo

Re: [Gambas-user] Forms Pixel Size Controls

2011-03-31 Thread Caveat
ng ('output'??) on the form to be bigger? Regards, Caveat On Thu, 2011-03-31 at 11:37 +0530, Ganesh Kumar wrote: > Hi Guys, > > I am new to gambas , how to forms size controls I have fixed size > > 800 x 600 => output will be 1024 x 695 > > I want require

Re: [Gambas-user] Source code - where's the download link gone

2011-04-07 Thread Caveat
I started Gambas3, but doesn't look like anything serious: > warning: unable to load Qt translation: en_GB.utf8 > QFont::setPointSize: Point size <= 0 (0), must be greater than 0 Thanks again, Caveat On Thu, 2011-04-07 at 01:05 -0400, Kevin Fishburne wrote: > On 04/07/

Re: [Gambas-user] using a "file system database"

2011-04-15 Thread Caveat
: http://fixunix.com/ubuntu/356538-filesystem-lots-small-files.html which may help. Regards, Caveat On Fri, 2011-04-15 at 03:22 -0400, Kevin Fishburne wrote: > I'm in the early phases of creating a "database" that uses the file > system for data organization rather than a tr

Re: [Gambas-user] Magnify

2011-04-17 Thread Caveat
Just happened across this site, try hovering over the product image :-D http://www.aliexpress.com/fm-store/801365/210402976-365646138/Free-shipping-5QTY-Wifi-Bridge-Wireless-Access-Points-AP-for-Dreambox-RJ45-DM800-DM800HD-Dreambox-best.html Regards, Caveat On Sun, 2011-04-17 at 20:39 +1000

Re: [Gambas-user] Base 64 question

2011-04-27 Thread Caveat
ut if you have any questions, just give me a shout. Regards, Caveat On Thu, 2011-04-28 at 07:38 +1000, Ian Haywood wrote: > No, HL7 parsing is fine, let me restate the question: does gambas have > an inbuilt function to > decode base 64 data? > > Ian > > On Thu, Apr 28, 201

Re: [Gambas-user] Eval error

2011-04-28 Thread Caveat
11.04 is officially out (sometime) today, so I guess you're using a beta right now. You haven't changed locales along with upgrading, have you? On Thu, 2011-04-28 at 09:15 +0200, JUHASZ Robert wrote: > Hello, > > I recently upgraded to ubuntu 11.04. My Gambas is 2.21. > The eval function worked

Re: [Gambas-user] Eval error

2011-04-28 Thread Caveat
Yup, seems I can confirm the bug. Works OK in ubuntu 10.10, but not 11.04. In both systems, looking at Application.Env I get: GDM_LANG: en_US.utf8 and LANG: en_US.utf8 Regards, Caveat On Thu, 2011-04-28 at 10:12 +0200, JUHASZ Robert wrote: > Yes, it's beta and I only did the upgrade,

Re: [Gambas-user] Base 64 question

2011-04-28 Thread Caveat
Huh? The files are not (afaik) xml. Does gb.xml have some hidden feature that decodes a base64 file to its binary equivalent? Could you maybe expand just a little on your 8-character response? ;-) On Thu, 2011-04-28 at 12:16 +0200, Fabien Bodard wrote: > gb.xml ! > > 2011/4/28 Caveat

Re: [Gambas-user] Base 64 question

2011-04-28 Thread Caveat
? lol I'm wondering if the Wait is doing much useful in the subroutine below (in theory it should be allowing processing of all pending events, but no user interaction). Perhaps you could remove it and see what happens... Regards, Caveat On Thu, 2011-04-28 at 22:09 +1000, richard terry wrote:

Re: [Gambas-user] Simple (I hope) - A list of windows opened by the current app

2011-05-21 Thread Caveat
2. Hmmm, maybe Benoit can help you on this one. It's not the behaviour I would expect... Regards, Caveat On Sat, 2011-05-21 at 17:06 +0930, Bruce Bruen wrote: > My main form has a list view which allows the user to open a new form > for each of the items when they double-click on a

Re: [Gambas-user] [Gambas-user OT] We live a dangerous life sometimes...

2011-05-28 Thread Caveat
We're disappointed in you Benoit... we don't want to use a Windoze 98 disk, we want to use SUB upgrade_firmware Dim myDisk As Velociraptor myDisk.setID("40CF80AD1A") myDisk.updateFW("/home/benoit/Downloads/fw_2011_05_15.bin") END SUB :-) On Sat, 2011-05-28 at 10:22 +

Re: [Gambas-user] Unable to split string containing ascii characters

2011-06-05 Thread Caveat
bas user list, please try and keep it that way, even if sometimes a particular problem frustrates you. Also please don't forget that the Gambas language is a labour of love and that it's FREE, before you ask for your money back ;-) Kind regards, Caveat On Sun, 2011-06-05 at 19:15 -0400,

Re: [Gambas-user] Unable to split string containing ascii characters

2011-06-06 Thread Caveat
;re trying to do (some people do work on 'private' projects, so I appreciate the need to keep some information back in some cases), then perhaps we'd be better able to help you further. Kind regards, Caveat On Sun, 2011-06-05 at 20:29 -0400, Titan Rain wrote: > I'm sorry

Re: [Gambas-user] arithmetic operations on dates and times

2011-06-09 Thread Caveat
months, so it doesn't seem as simple as just multiplying up the sum of real server year and base year by your factor (4 in the example). This means you can't presume that the game year is 12044 just because the real year is 2011, you'd have to know what month it is too... Regards,

Re: [Gambas-user] Extra gb.newline ?

2011-06-10 Thread Caveat
our output, ultimately you *should* try to make sure your file ends with a newline, to be compliant with the way 'nix expects text files to be. Regards, Caveat On Fri, 2011-06-10 at 20:16 +0300, Jussi Lahtinen wrote: > Yes, you are right, gedit will add newline automatically. > That w

Re: [Gambas-user] gambas3 and web services

2011-06-20 Thread Caveat
with stubs for the methods to call the Web Service(s). I'm guessing you don't want to get quite that ambitious at this stage? I've done POSTing of parameters in Gambas (somewhere, I have to look for the code!) Can you share the WSDL and/or any existing client code with us? Regards

Re: [Gambas-user] Problem compiling gambas3 (glew.h not found)

2011-06-21 Thread Caveat
Hi Laurent It's attached herewith. Thanks and regards, Caveat On Tue, 2011-06-21 at 11:15 +0200, Laurent Carlier wrote: > Le Tuesday 21 June 2011 10:57:47, Caveat a écrit : > > Please find attached full stdout and stderr in result_comp_gambas3.gz > > > > Also (with

Re: [Gambas-user] Problem compiling gambas3 (glew.h not found)

2011-06-21 Thread Caveat
le or directory compilation terminated. make[3]: *** [main.lo] Error 1 Sorry! On Tue, 2011-06-21 at 11:45 +0200, Laurent Carlier wrote: > Le Tuesday 21 June 2011 11:28:43, Caveat a écrit : > > Hi Laurent > > > > It's attached herewith. > > > > Thanks and regards, &g

Re: [Gambas-user] Problem compiling gambas3 (glew.h not found)

2011-06-21 Thread Caveat
Confirmed fixed in 3895. Many thanks for the lightning fast responses. :-) Regards, Caveat On Tue, 2011-06-21 at 12:18 +0200, Laurent Carlier wrote: > Le Tuesday 21 June 2011 12:08:51, Caveat a écrit : > > No change I'm afraid. Checked out revision 3894 and > > in .../gb.o

Re: [Gambas-user] gambas3 and web services

2011-06-21 Thread Caveat
ble to pick the bones out of this to make a specific client for the Web Service(s) you want to use. For more details of the example WS I used, see http://www.webservicex.net/ConvertTemperature.asmx?op=ConvertTemp Regards, Caveat On Tue, 2011-06-21 at 10:02 +0200, Almanova Sistemi wrote: > att

Re: [Gambas-user] gambas3 and web services [bigger, better, faster, more]

2011-06-21 Thread Caveat
Cache-Control: private, max-age=0 Got header: Content-Length: 367 Got header: Content-Type: text/xml; charset=utf-8 Got header: Server: Microsoft-IIS/7.0 Got header: X-AspNet-Version: 4.0.30319 Got header: X-Powered-By: ASP.NET Got header: Date: Tue, 21 Jun 2011 14:45:19 GMT *** End SOAP 1.1 *** Soap 1.2

[Gambas-user] My first Gambas patch (HttpClient content-type validation)

2011-06-21 Thread Caveat
== '=') Thus adding semi-colon, space, and the equals sign to the set of accepted characters. I have tested this locally and it appears to work but I don't have commit rights to the Gambas3 svn (probably a good thin

Re: [Gambas-user] gb3: assigning a color to a variable of Color datatype

2011-06-22 Thread Caveat
Morning Kevin Color.RGB returns an Integer, not an object of type Color See http://gambasdoc.org/help/comp/gb.qt/color/rgb So I think your SolarCurrent needs to be an integer (Color is a static class mainly for convenience really) Regards, Caveat On Wed, 2011-06-22 at 20:59 -0400, Kevin

Re: [Gambas-user] gb3: date/time reporting odd fractional value

2011-06-23 Thread Caveat
Print "Seconds less minutes: " & remain minutes = Int(seconds / 60) Print "Minutes: " & minutes seconds = remain Print "It is now " & hours & ":" & minutes & ":" & seconds & " GMT" Confused, Cave

Re: [Gambas-user] Create and delete labels dinamically

2011-06-27 Thread Caveat
Dim aLabel As TextLabel Dim idx, idy As Integer For idx = 0 To allLabels.length - 1 If Object.IsValid(allLabels[idx]) Then allLabels[idx].Y = 10 + (idy * 22) Inc idy End If Next End Regards, Caveat On Mon, 2011-06-27 at 11:41 +0200, M. Cs. wrote: > I know how to crea

[Gambas-user] Seg fault, rev 3903, odbc db selecting

2011-06-28 Thread Caveat
Create project with database support. Go to Connections in left navigation pane, New connection... Complete dialog as per attached screenshot, click on the icon to the right of Database field (should bring up an odbc selector, I reckon). Segmentation fault :-( Regards, Caveat

Re: [Gambas-user] Seg fault, rev 3903, odbc db selecting... how to...

2011-06-28 Thread Caveat
ts that it can't connect. If I try the path/file name of the mdb file directly in that field, it still can't connect. Here's my odbc.ini [E4Y] Description = Easy Driver = /usr/lib/libmdbodbc.so.0 Database = /home/caveat/dev/db/easywin.mdb The .mdb file has no password set on it. If

Re: [Gambas-user] Seg fault, rev 3903, odbc db selecting... how to...

2011-06-29 Thread Caveat
mdb odbc driver installed (libmdbodbc.so.0) and an entry defined in odbc.ini as per my previous mail, but it seems Gambas3 can't even see that entry. So my question is intended as a kind of sanity-check... does someone else have odbc working with Gambas3? Thanks and regards, Caveat On Wed, 20

Re: [Gambas-user] Seg fault, rev 3903, odbc db selecting... how to...

2011-06-29 Thread Caveat
give up on Gambas (for *this* task) and look at Java. Regards, Caveat On Wed, 2011-06-29 at 15:50 +0200, Ricardo Díaz Martín wrote: > Hi Caveat, > > You can look for Ian Roper in this mailing list. I remember he was to > be able to to. > > go http://sourceforge.net/mailarchiv

Re: [Gambas-user] Seg fault, rev 3903, odbc db selecting... progress!

2011-06-30 Thread Caveat
hanks again and best regards, Caveat On Thu, 2011-06-30 at 09:46 +0200, Ricardo Díaz Martín wrote: > Caveat, > > After my last post, I was trying to connect to mdb file using ODBC in > Ubuntu 11.04. I can connet using isql with no problems (connection is > ok and I can exec some ba

[Gambas-user] Database not working to select records, but fields/tables identified

2011-06-30 Thread Caveat
*** result *** Found field: ID Found field: Field1 Found field: Field2 Found field: Field3 Result Count: 0 Available? False result *** Many thanks in advance for any new pointers... Regards, Caveat --

Re: [Gambas-user] Database not working to select records, but fields/tables identified (small correction)

2011-06-30 Thread Caveat
't actually make a difference right now...(and the pre-written Database example still doesn't work either lol) Regards, Caveat On Fri, 2011-07-01 at 02:37 +0200, Caveat wrote: > Hi, > > I'm trying to get database access to an ODBC datasource (have been > trying for a few

Re: [Gambas-user] Database not working to select records, but fields/tables identified

2011-07-01 Thread Caveat
l start to work... Thanks and kind regards, Caveat Public Sub Form_Open() 'Print boolToString(True) 'Print boolToString(False) tryNewDB() 'tryE4Y() End Public Sub tryNewDB() Dim conn As Connection Dim res As Result Dim sql As String Dim resF As Re

Re: [Gambas-user] Multiline RegExp [slightly OT]

2011-07-27 Thread Caveat
the addresses you identified in the textarea, you would (according to Apple) by guilty of patent infringement. No matter that you've done all the hard work yourself, that you haven't been near any of Apple's code for doing this... [Sorry to interrupt with this slightly off-topic rant!]

Re: [Gambas-user] Multiline RegExp [slightly OT]

2011-07-27 Thread Caveat
our door asking for money? :-/ Kind regards, Caveat On Wed, 2011-07-27 at 13:48 +0300, Demosthenes Koptsis wrote: > sorry but i dont understand where is the patent problem. > > There are many regexp which "recognize data" such emails. > So i think here is not the problem. >

Re: [Gambas-user] Multiline RegExp [slightly OT]

2011-07-27 Thread Caveat
judge-finds-htc-in-infringement-of.html Kind regards, Caveat On Wed, 2011-07-27 at 14:19 +0300, Demosthenes Koptsis wrote: > ok. > > But as you say, Apple's lawyers can knock the door of anyone who uses > regular expressions. > > Is this true? > > On Wed, 2011-07-27

Re: [Gambas-user] Multiline RegExp [more OT]

2011-07-27 Thread Caveat
e-finds-htc-in-infringement-of.html Right here, it seems like HTC *IS* losing the battle against Apple over this very patent! As we all appear to agree, there's an abundance of prior art, so why the heck has the initial determination gone to Apple? K

Re: [Gambas-user] Multiline RegExp [more OT]

2011-07-27 Thread Caveat
OT] to the subject... to suggest it's Off Topic... but not so far off topic that it shouldn't be of a great deal of concern to all of us (Gambas) developers. Regards, Caveat On Wed, 2011-07-27 at 10:28 -0400, Rob wrote: > On Wednesday 27 July 2011 08:53, Caveat wrote: > > Righ

Re: [Gambas-user] OpenGL question.

2011-07-28 Thread Caveat
stick them up on my website for you to rip directly. Regards, Caveat On Wed, 2011-07-27 at 22:22 -0400, Kevin Fishburne wrote: > On 06/12/2011 03:50 PM, Tomek wrote: > > I've ported around 20 OpenGl tutorials already and you can find them on > > gambasforum.com. >

Re: [Gambas-user] OpenGL question.

2011-07-28 Thread Caveat
Oh no, the projects are all there, but they come down as zero-length still. Damn! Sorry... On Thu, 2011-07-28 at 18:47 +0200, Caveat wrote: > Hi Kevin > Seem to be still some tutorials available here: > http://whiteislandsoftware.com/forum/index.php?page=topicview&id=tutorial%2Fope

Re: [Gambas-user] Accessing a microsoft database from gambas

2011-08-02 Thread Caveat
imple server on the java side and returning things like lists of tables, lists of columns for a given table and have a sample Gambas program up and running to make a nice GUI for it. If you're interested, perhaps we could collaborate on this and develop it further? Regards, Caveat On Tue,

Re: [Gambas-user] long lines of code ?

2011-08-02 Thread Caveat
toto as float) as integer ==== Regards, Caveat On Tue, 2011-08-02 at 12:51 +0200, wally wrote: > How can i wrap long lines in code to several shorter so all is in view in > editor window ? > I think in VB there was th

[Gambas-user] Compile failed #3967, Ubuntu 10.10

2011-08-04 Thread Caveat
]: *** [gmainwindow.lo] Error 1 Seems to be a (fairly) new line in gmainwindow.cpp... If you need more, just shout... Regards, Caveat -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile

Re: [Gambas-user] Compile failed #3967, Ubuntu 10.10 [FIXED]

2011-08-04 Thread Caveat
id gMainWindow::initWindow()’: > > > gmainwindow.cpp:233: error: ‘gtk_window_set_has_resize_grip’ was not > > > declared in this scope > > > make[4]: *** [gmainwindow.lo] Error 1 > > > > > > >

Re: [Gambas-user] miles per hour to pixels per frame (general unit conversion function)

2011-08-20 Thread Caveat
res/minute = 2000/60 metres per second = 33 metres per second! If you take just 1/2 a second to react to a problem, you'll already be 17 metres closer to it, and if you take your eyes off the road just for a second to answer a text or change CDs... :-O Regards, Caveat On Sat, 2011-08

Re: [Gambas-user] Bug

2011-08-25 Thread Caveat
Why shouldn't it be legal? As it stands, it's not good code and it's certainly not very useful but why should the compiler stop you setting something to null? What if there's a line of code between, should it then be legal? regards, Caveat On Fri, 2011-08-26 at 02:35 +

Re: [Gambas-user] Error after error

2011-09-13 Thread Caveat
some kind of application/logic error, but perhaps as a consequence of things that have changed in the process of moving to GB3. Regards, Caveat On Tue, 2011-09-13 at 02:08 +0200, Benoît Minisini wrote: > > Hi, > > > > I am trying to create a pretty complex software here, bu

Re: [Gambas-user] Control Properties - Align

2011-09-19 Thread Caveat
Try typing Align. in the IDE, it'll pop up with the list of values... For a TextBox, it's Normal (1), Left (1), Center (2), and Right (3). I guess the value of Normal may depend on your locale... Kind regards, Caveat On Mon, 2011-09-19 at 01:24 -0300, Dag-Jarle Johansen wrote: &g

Re: [Gambas-user] perl unpack

2011-09-19 Thread Caveat
Don't stress too much over the `, it's just a kind of non-standard padding character. The % at the beginning of the string says we only have 5 characters to decode so we shouldn't worry...we SHOULD always have an exact multiple of 4 characters after the first length byte... but some of them may no

Re: [Gambas-user] perl unpack

2011-09-20 Thread Caveat
from, but the all where slightly > different, so where the results. > This shows it's sometimes better to just start from the basic info and > work from there line by line... > > Thanks alot! > Going to put this in my project... > > Regards, > Ron_2nd. > > >

Re: [Gambas-user] perl unpack

2011-09-20 Thread Caveat
* 8)) ' Append the value to our result, up to 3 characters result &= Chr$(anInt) ' Find the remainder by subtracting the multiplied-up ' (using Lsl) whole number from valTemp valTemp -= Lsl(anInt, ((3 - idx) * 8)) Next Return result End ===

Re: [Gambas-user] Gambas3 @ Mint LMDE

2011-09-21 Thread Caveat
make > make_result.txt 2>&1 gzip make_result.txt Send make_result.txt.gz Kind regards, Caveat On Wed, 2011-09-21 at 13:26 +0300, Demosthenes Koptsis wrote: > yes it is 64bit machine. > > ## - ## > ## Platform. ## > ## - ## > > hostname = m

Re: [Gambas-user] Starnge with DB and IF

2011-09-24 Thread Caveat
d forget all the database nonsense for a minute and try something as simple as Me.Caption = "Aanmelden"... does that work? If not, it's nothing to do with your ResultSet, your database, or any IF clause... it has to be something else... Kind regards, Caveat On Sat, 2011-09-24 at 2

Re: [Gambas-user] Collection key

2011-10-12 Thread Caveat
12345678A] : A Value: B Key: 12345678B Value of coll[12345678B] : B Value: C Key: 12345678C Value of coll[12345678C] : C Value: D Key: 12345678 Value of coll[12345678] : D Am I missing the obvious here, or is this affecting only a certain version of Gambas or a specific platfo

Re: [Gambas-user] Collection key

2011-10-12 Thread Caveat
678] : A Value: B Key: B12345678 Value of coll[B12345678] : B Value: C Key: C12345678 Value of coll[C12345678] : C Value: D Key: 12345678 Value of coll[12345678] : D On Wed, 2011-10-12 at 21:37 +0200, Caveat wrote: > DIM coll AS NEW Collection > DIM value AS String > coll.Add

Re: [Gambas-user] file size limit on sql file in gambas????

2011-10-18 Thread Caveat
ainly historically 2Gb was pretty much a hard and fast limit for 32-bit Linux systems). Perhaps you may have to consider splitting the database or moving to another DBMS? Regards, Caveat On Tue, 2011-10-18 at 11:16 -0700, Ivan Williams wrote: > Greetings once more > > I have been doing some

Re: [Gambas-user] 2D-Array ?

2011-10-23 Thread Caveat
Don't shoot me for stating the obvious, but -ve means negative. So I guess Bruce is just saying that intuitively he'd expect round(float, int) to look like round(my_float, 2) if you wanted to round my_float to 2 decimal places but in fact you need round(my_float, -2). Kind regards,

Re: [Gambas-user] Weird non firing textbox_keypress event

2011-11-03 Thread Caveat
kely don't need all the reconf-all and make and make clean etc. every time but it shouldn't do much harm) Kind regards, Caveat On Thu, 2011-11-03 at 15:07 +1100, richard terry wrote: > This is really weird. > > I havn't upgraded gambas since version 4152, upgraded yesterday t

Re: [Gambas-user] Really stupid question about making/running a gambas exe

2011-11-04 Thread Caveat
Just copy it to your Desktop folder...(works for Ubuntu with Gnome) Caveat On Fri, 2011-11-04 at 20:59 +1100, richard terry wrote: > Hi List > > Have run for long time just in the gambas ide, so wanted to just excute the > executable for the project. > > made the executable

Re: [Gambas-user] gambas3 on oneric

2011-11-29 Thread Caveat
> Any help appreciated. LOL... only from the psychic members of the mailing list! Any information would be appreciated... error message perhaps, copy of the output...don't leave us all guessing! Regards, Caveat On Wed, 2011-11-30 at 14:48 +1100, richard terry wrote: > Does gamb

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Caveat
But tableview doesn't appear to be editable either... there's no read-only attribute, no editable attribute... so ? On Wed, 2011-12-14 at 18:06 +0100, Fabien Bodard wrote: > 2011/12/14 Caveat : > > Hi, > > > > I have a program that compares small binary files (eith

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Caveat
Thanks Benoit, that was the missing piece of the puzzle! Now the program is working great! I kind of thought 8000+ textboxes was a little overkill, but I didn't expect it to be quite so slow... Thanks again Caveat On Wed, 2011-12-14 at 19:29 +0100, Benoît Minisini wrote: > Le 14/12/20

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Caveat
isual structure that just isn't there with the tableview. Oh well, the tableview works, and it's functional enough so thanks again Benoit. Regards, Caveat On Wed, 2011-12-14 at 20:42 +0100, Benoît Minisini wrote: > Le 14/12/2011 19:40, Caveat a écrit : > > Thanks Benoit, that w

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Caveat
t), the same '4k GUI' takes 1.5 minutes to build. Hope this helps. Regards, Caveat On Wed, 2011-12-14 at 20:42 +0100, Benoît Minisini wrote: > Le 14/12/2011 19:40, Caveat a écrit : > > Thanks Benoit, that was the missing piece of the puzzle! > > > > Now the progr

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Caveat
e folks pushing Gambas to the limits. Indeed, and we've now discovered that the problem is only apparent when using gtk+. I'm sure Benoit will keep us posted. Regards, Caveat On Wed, 2011-12-14 at 16:22 -0800, John Spikowski wrote: > On Thu, 2011-12-15 at 00:44 +0100, Caveat wrote

[Gambas-user] Compile fails, rev 4278

2011-12-15 Thread Caveat
gbx3-gbx_class_init.o:(.rodata+0x280): undefined reference to `NATIVE_System' gbx3-gbx_class_init.o:(.rodata+0x2a0): undefined reference to `NATIVE_User' gbx3-gbx_c_process.o: In function `signal_child': /home/jules/dev/gambas3/trunk/main/gbx/gbx_c_process.c:646: undefined reference to `SIGNAL_prev

Re: [Gambas-user] Compile fails, rev 4278 [FIXED]

2011-12-15 Thread Caveat
./reconf-all ./configure make seems to have fixed it. Probably quite a lot changed on my machine since the last time I compiled Gambas. :-) -- 10 Tips for Better Server Consolidation Server virtualization is being driv

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-15 Thread Caveat
poorly-designed "textboxes on panels GUI" or switch to the rather more boring-looking but pleasing to the design-police "tableview GUI" :-D :-D :-D :-D Kind regards, Caveat On Thu, 2011-12-15 at 05:50 +0100, Benoît Minisini wrote: > Le 15/12/2011 03:42, Benoît Minisini a é

Re: [Gambas-user] Gambas2 Gambas3 Compilation

2011-12-16 Thread Caveat
ust a pointer to the specific version, so the 'locate' just has to find libz.so and follow the link to the right version. Regards, Caveat On Fri, 2011-12-16 at 09:28 -0600, Randy Millner wrote: > Trying to help the 64bit distro of PcLinuxOS by compiling first > Gambas2 and then Ga

Re: [Gambas-user] Release of Gambas 3 RC7

2011-12-25 Thread Caveat
Or is your code deliberately obscure and using some trick to make the initial letters uppercase? Season's greetings! Caveat On Sun, 2011-12-25 at 17:52 +0100, M. Cs. wrote: > Hello Benoit! > Congrats for the RC7 and a possible bug with string functions: > This function should r

Re: [Gambas-user] File opening dialog and one more question

2012-01-05 Thread Caveat
rancs as a static const set to 40., UKP to US$ as static (but not const... so changing it on one instance of CurrencyConverter will change it for all instances), and the amount to convert as non-static, non-const... hope that example made some sense! Regards, Caveat On Thu, 2012-01-05 at 1

Re: [Gambas-user] File opening dialog and one more question

2012-01-06 Thread Caveat
> works correct without any DIM at all? Because HowManyUnits is a static function so you don't need to create any instances of CUnit to be able to call that function. Regards, Caveat On Fri, 2012-01-06 at 08:04 -0800, Dmitrij Malkov wrote: > > works correct without

Re: [Gambas-user] ubuntu 12.04 error with libvtkzip or vtkzlib ?

2012-01-18 Thread Caveat
out the problem. Regards, Caveat On Wed, 2012-01-18 at 14:09 +0100, Girard Henri wrote: > After I have been searching : files are in the right place but not found... > > Le 18/01/2012 09:32, Girard Henri a écrit : > > Hi, > > > > I have been running precise pangolin

Re: [Gambas-user] Database question

2012-01-19 Thread Caveat
F = &1 AND DELE = &2", "AS20", "0") ' ... etc. If rSet Not Null Then If rSet.Count > 0 Then rSet.MoveFirst Print rSet["CLEF"], rSet["NOMNL"] Endif Endif Kind regards, Caveat On Thu, 2012-01-19 at 1

Re: [Gambas-user] ValueBox value validation

2012-01-19 Thread Caveat
doesn't support LostFocus) but the component doesn't appear in the gb.qt4 docs... http://gambasdoc.org/help/comp/gb.qt4?v3&show Guess it's over to the devs... Kind regards, Caveat On Thu, 2012-01-19 at 15:41 +, John Rose wrote: > I have a problem with validating a u

Re: [Gambas-user] Issue 199 in gambas: LostFocus & Leave events not activated for ValueBox

2012-01-20 Thread Caveat
lost my focus! I'm sure it's around here somewhere... ComboBox: Oh no, I lost my focus! I'm sure it's around here somewhere... Kind regards, Caveat On Fri, 2012-01-20 at 08:18 +, gam...@googlecode.com wrote: > Updates: > Status: Fixed > > Comment #2 o

Re: [Gambas-user] Convert string to integer with arbitrary base

2012-01-20 Thread Caveat
tr As String, base As Integer) As Integer Dim idx, mult, result, value As Integer mult = 1 For idx = Len(inputStr) To 1 Step -1 ' If we're in a base with digits bigger than 9 ' we need the Find to return 10 for A, 11 for B, 12 for C etc. value = DIGITS.Find(UCas

  1   2   3   >