Fine Benoit! That's efficiency
Regards
2015-01-07 0:11 GMT+01:00 Benoît Minisini :
> 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
> >
>
> "PRAGMA" and
Le 7 janv. 2015 02:57, "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 intentional or is i
.Find ?
Le 7 janv. 2015 05:10, "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 item wi
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 values
Test with parenthesis.
XXX.Sort()
Jussi
On Thu, Jan 8, 2015 at 12:55 AM, Lewis Balentine 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 "string[]".
>
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()
Pri
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()].
>
>
--
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", "
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