Re: [Gambas-user] SQLite PRAGMA don't seem works any more

2015-01-07 Thread Jorge Carrión
Fine Benoit! That's efficiency Regards 2015-01-07 0:11 GMT+01:00 Benoît Minisini gam...@users.sourceforge.net: Le 06/01/2015 19:28, Jorge Carrión a écrit : I've tested PRAGMA foreign_keys=ON and it works fine... I can live without PRAGMA fields_info. Gambas rules!! Regards

Re: [Gambas-user] Just as a matter of interest...

2015-01-07 Thread Fabien Bodard
Le 7 janv. 2015 02:57, adamn...@gmail.com adamn...@gmail.com a écrit : with the cursor in the IDE Console tab, I just pressed Ctrl+Enter. This had a strange effect of sort of collapsing the visible console text to a single line. Repeating that, all the original text reappears. Is this

Re: [Gambas-user] (hard?) Testing for a treeview key with Like

2015-01-07 Thread Fabien Bodard
.Find ? Le 7 janv. 2015 05:10, adamn...@gmail.com adamn...@gmail.com a écrit : Something new? I have a treeview (actually a columnview) whose Item keys are a concatenated string of filename and version via Subst(1-2, hItem.Name, hItem.Version) When loading the view and I encounter an

Re: [Gambas-user] Array.Sort

2015-01-07 Thread Lewis Balentine
No ... I was not forgetting. I have not yet learned they are required ... ... but this old dog 'will' learn the new tricks. Thank thee again. Lewis On 01/07/2015 06:09 PM, T Lee Davidson wrote: Hi Lewis, You're forgetting, like I often do, the parentheses for the method [.Sort()].

Re: [Gambas-user] Array.Sort

2015-01-07 Thread Lewis Balentine
oops Last line should be: Print 'array.max'returns index of the last item in an array: XXX.max On 01/07/2015 11:59 PM, Lewis Balentine wrote: Print 'array.max'returns the number of items in an array: XXX.max Quit End

Re: [Gambas-user] Array.Sort

2015-01-07 Thread Lewis Balentine
Do I have it correct now ?? The program runs and operates as expected. My concern is more to the proper nomenclature than function. Regards, Lewis Balentine '--- --- (project archive attached to message) --- --- Private Function TestFunction() As String[] Return [abcdefghij, 1234567890,

[Gambas-user] Array.Sort

2015-01-07 Thread Lewis Balentine
I was playing around trying to learn how to pass string arrays back and forth. I then looked at the array.sort function. The prototype in the Wiki indicates that it returns an string[]. Function Sort([Mode As Integer]) As String[] However it seems that I can not use the returned

Re: [Gambas-user] Array.Sort

2015-01-07 Thread Jussi Lahtinen
Test with parenthesis. XXX.Sort() Jussi On Thu, Jan 8, 2015 at 12:55 AM, Lewis Balentine le...@keywild.com wrote: I was playing around trying to learn how to pass string arrays back and forth. I then looked at the array.sort function. The prototype in the Wiki indicates that it returns an

Re: [Gambas-user] Array.Sort

2015-01-07 Thread T Lee Davidson
Hi Lewis, You're forgetting, like I often do, the parentheses for the method [.Sort()]. ... XXX = TestFunction().Sort() DoPrint(XXX.Sort()) DoPrint(TestFunction().Sort()) For Each S In XXX.Sort() Print S Next Print --- For Each S In TestFunction().Sort()