Re: [Gambas-user] external function freezes

2018-06-08 Thread Jussi Lahtinen
Correction, "is" not "of". Jussi On Sat, Jun 9, 2018 at 12:13 AM, Jussi Lahtinen wrote: > I guess it is just waiting process with pid 8634... how do you ensure this > pid of given to the process? > > > Jussi > > On Fri, Jun 8, 2018 at 11:41 PM, Demos

Re: [Gambas-user] external function freezes

2018-06-08 Thread Jussi Lahtinen
I guess it is just waiting process with pid 8634... how do you ensure this pid of given to the process? Jussi On Fri, Jun 8, 2018 at 11:41 PM, Demosthenes Koptsis wrote: > Hello, i implemented a ptrace and waitpid external functions in order to > read/write a memory address of a process. > >

Re: [Gambas-user] Multithreaded Programs

2018-06-01 Thread Jussi Lahtinen
o put the last word if you'd like >> >> ⁣Sent from TypeApp ​ >> >> On May 31, 2018, 15:53, at 15:53, Jussi Lahtinen < >> jussi.lahti...@gmail.com> wrote: >> >> Or you could use terms that all peopleof all cultures understand ... >> >> >&g

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
> Or you could use terms that all peopleof all cultures understand ... > Unfortunately, there is no such thing. > ... and stop beating the dead horse. You used some kind of terminology > specific to one culture that was your mistake I took it as an insult my > mistake. Now the question is does

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
insult that is why you > got some teeth coming back at you. Otherwise thank you for the idea on task > now I can look up and learn about it. > > Sent from TypeApp <http://www.typeapp.com/r?b=13095> > On May 31, 2018, at 14:54, Jussi Lahtinen > wrote: >> >> >

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
, Jun 1, 2018 at 1:53 AM, Jussi Lahtinen wrote: > > It is amazing how programmers are so petty. I went through and reread that >> thread and I don't see any answers in there to what I'm trying to do. > > > "You can write two separated gambas applications that communi

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
> It is amazing how programmers are so petty. I went through and reread that > thread and I don't see any answers in there to what I'm trying to do. "You can write two separated gambas applications that communicate to each other." I explained it further with me second reply. > By the way

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
they are created by things outside of the computer. Jussi On Fri, Jun 1, 2018 at 1:37 AM, Jussi Lahtinen wrote: > I don't know how to explain the issue shortly, if you are not familiar > with what state machine means. And if you do, I'm not sure what to explain > further. > >

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
I don't know how to explain the issue shortly, if you are not familiar with what state machine means. And if you do, I'm not sure what to explain further. However, here is practical answer to your problem. Gambas itself doesn't need to be multi-threaded to achieve such things. You can simply use

Re: [Gambas-user] Multithreaded Programs

2018-05-31 Thread Jussi Lahtinen
Please read the whole thread you necromanced, you don't need Gambas to support multi-threading for that. Jussi On Fri, Jun 1, 2018 at 12:27 AM, MacGyver via Gambas-user < gambas-user@lists.sourceforge.net> wrote: > I will give you a real life example of the need for multithreading. > > project

Re: [Gambas-user] How to specify a string constant in an Exec statement

2017-12-14 Thread Jussi Lahtinen
OK... weird. I wonder if "announcement only" means what it sounds like. https://sourceforge.net/p/forge/documentation/Mailing%20Lists/#making-an-announcements-only-list Jussi On Thu, Dec 14, 2017 at 11:53 PM, Benoît Minisini <g4m...@gmail.com> wrote: > Le 14/12/2017 à 20

Re: [Gambas-user] How to specify a string constant in an Exec statement

2017-12-14 Thread Jussi Lahtinen
Maybe this works? Exec ["get_iplayer", "\".*\"", "--force", "--type=TV"] To sOutput Jussi On Thu, Dec 14, 2017 at 7:33 PM, John Rose wrote: > I want to have a command containing double quotes characters in an Exec > statement: > get-iplayer ".*" --force --type=TV >

Re: [Gambas-user] Gambas not starting

2017-11-13 Thread Jussi Lahtinen
How Gambas was installed? What version? Jussi On Sat, Nov 11, 2017 at 12:55 AM, Bruce Cunningham <bcunning...@sportif.com> wrote: > Jussi, > > When I do that, it just hangs. No messages, just a sold cursor. > > Bruce > > Bruce Cunningham > > -----Original Me

Re: [Gambas-user] Gambas not starting

2017-11-10 Thread Jussi Lahtinen
Open terminal and type in gambas3. There should be some error message. Jussi On Fri, Nov 10, 2017 at 8:14 PM, Bruce Cunningham wrote: > Hello, > > Are there any logs that could help me troubleshoot why Gambas will not > start? I installed it on an ARM based single

Re: [Gambas-user] Process.Wait freeze

2017-09-05 Thread Jussi Lahtinen
Jussi On Tue, Sep 5, 2017 at 8:52 PM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 04/09/2017 à 04:20, Jussi Lahtinen a écrit : > >> Benoit, any clue about this? It seems to still happen with the latest >> revision. >> >> >> Jussi >>

Re: [Gambas-user] Process.Wait freeze

2017-09-03 Thread Jussi Lahtinen
Benoit, any clue about this? It seems to still happen with the latest revision. Jussi On Tue, Aug 22, 2017 at 12:10 AM, Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > OK, I made isolated loop. Here is output of the run. Just search the log > for "Main.Main.41: sTest did n

[Gambas-user] Fwd: \r\n and \n

2017-08-27 Thread Jussi Lahtinen
Re: [Gambas-user] \r\n and \n To: Jussi Lahtinen <jussi.lahti...@gmail.com> Le 27/08/2017 à 22:18, Jussi Lahtinen a écrit : > See the attached project. I'm not sure whether this is feature or bug, but > I would appreciate explanation for it. I expect to get string ending with >

[Gambas-user] \r\n and \n

2017-08-27 Thread Jussi Lahtinen
See the attached project. I'm not sure whether this is feature or bug, but I would appreciate explanation for it. I expect to get string ending with \n, but I always get it ending with \r\n. Why? Jussi Isolation-0.0.8.tar.gz Description: GNU Zip compressed data

Re: [Gambas-user] Switching to GitLab

2017-08-23 Thread Jussi Lahtinen
ceptually" : https://www.sbf5.com/~cduan/te > chnical/git/ > > "Pro Git" : https://git-scm.com/book/en/v2 > (More comprehensive since it's an online HTML book.) > > > -- > Lee > > > > On 08/23/2017 08:56 AM, Jussi Lahtinen wrote: > >> Thanks

Re: [Gambas-user] Switching to GitLab

2017-08-23 Thread Jussi Lahtinen
...@gmail.com>: > > > sorry to overriding local change u must get back : > > > > > > git checkout -- > > > git fetch;git pull > > > > > > Lenz McKAY Gerardo (PICCORO) > > > http://qgqlochekone.blogspot.com > >

Re: [Gambas-user] Switching to GitLab

2017-08-22 Thread Jussi Lahtinen
How do I update sources overwriting local changes? Jussi On Sun, Aug 20, 2017 at 11:38 PM, Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > OK, that solves the problem. Thanks! > > > Jussi > > On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < > adrie

Re: [Gambas-user] Process.Wait freeze

2017-08-21 Thread Jussi Lahtinen
ote: > Le 21/08/2017 à 03:34, Jussi Lahtinen a écrit : > >> OK, now I'm experiencing only the old already reported error, which no >> one else seem to be able to reproduce. IE the variable sTest remains empty >> (example in mTest.DoTest line 1686). >> >> >>

Re: [Gambas-user] Process.Wait freeze

2017-08-20 Thread Jussi Lahtinen
08/2017 à 00:44, Jussi Lahtinen a écrit : > >> Hmmm... somehow this: >> >> hWatchFile = Open "/dev/urandom" For Read Watch >> >> Triggers execution of Process_Read(), instead of File_Read()... something >> changed to that? >> >> >>

Re: [Gambas-user] Process.Wait freeze

2017-08-20 Thread Jussi Lahtinen
Hmmm... somehow this: hWatchFile = Open "/dev/urandom" For Read Watch Triggers execution of Process_Read(), instead of File_Read()... something changed to that? Jussi On Mon, Aug 21, 2017 at 1:38 AM, Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > Did you run the Gamb

Re: [Gambas-user] Process.Wait freeze

2017-08-20 Thread Jussi Lahtinen
, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 18/08/2017 à 12:47, Benoît Minisini via Gambas-user a écrit : > >> Le 14/08/2017 à 00:18, Jussi Lahtinen a écrit : >> >>> The freeze from gdb. >>> >>> #0 0x77b068b3 in se

Re: [Gambas-user] Switching to GitLab

2017-08-20 Thread Jussi Lahtinen
OK, that solves the problem. Thanks! Jussi On Sun, Aug 20, 2017 at 11:22 PM, Adrien Prokopowicz < adrien.prokopow...@gmail.com> wrote: > Le Sun, 20 Aug 2017 20:31:11 +0200, Jussi Lahtinen < > jussi.lahti...@gmail.com> a écrit: > > How do you get the change log with g

Re: [Gambas-user] Switching to GitLab

2017-08-20 Thread Jussi Lahtinen
spot.com > > 2017-08-20 14:31 GMT-04:00 Jussi Lahtinen <jussi.lahti...@gmail.com>: > > > How do you get the change log with git? "git log" shows only one change > > (most recent?). > > Is this because I cloned the sources with "git clone --depth=1 >

Re: [Gambas-user] Switching to GitLab

2017-08-20 Thread Jussi Lahtinen
How do you get the change log with git? "git log" shows only one change (most recent?). Is this because I cloned the sources with "git clone --depth=1 https://gitlab.com/gambas/gambas.git;? Even when I want only the latest dev version, I would still like to know what has changed. It's quite

Re: [Gambas-user] Mailinglist

2017-08-19 Thread Jussi Lahtinen
Why people are so against google groups? It would be much better than this current one. No spam, no attachment size limits, better service reliability, forum interface as alternative to people who like it... otherwise it would work identically. Jussi On Sun, Aug 20, 2017 at 2:01 AM,

Re: [Gambas-user] Mailinglist

2017-08-19 Thread Jussi Lahtinen
> > 1) Google groups are not a mailing-list. I want mails, so that I can have > every post in my mail client and read them without Internet. > They are if you want. That is exactly how I use google groups. I never use the web interface. 2) Google crawls the data, and who knows what they do with

Re: [Gambas-user] Mailinglist

2017-08-19 Thread Jussi Lahtinen
I'm signed on multiple google groups (and I'm admin of one [there can be multiple admins]). They work without problems. It's by far the easiest option. No need to put time, money, etc on it. What is the problem with google? Jussi On Sat, Aug 19, 2017 at 8:13 PM, Benoît Minisini via Gambas-user

Re: [Gambas-user] Process.Wait freeze

2017-08-18 Thread Jussi Lahtinen
SVN log doesn't say anything about the fix in r8175..? Jussi On Fri, Aug 18, 2017 at 8:20 PM, Benoît Minisini via Gambas-user < gambas-user@lists.sourceforge.net> wrote: > Le 18/08/2017 à 19:16, Karl Reinl a écrit : > >> Am Freitag, den 18.08.2017, 13:18 +0200 schrieb Benoît Minisini via >>

Re: [Gambas-user] Process.Wait freeze

2017-08-13 Thread Jussi Lahtinen
(class=, object=object@entry=0x0, desc=desc@entry=0x681aa8, nparam=nparam@entry=0) at gbx_exec.c:1618 #8 0x00404b68 in main (argc=1, argv=0x7fffdfd8) at gbx.c:416 Jussi On Mon, Aug 14, 2017 at 1:12 AM, Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > See attache

[Gambas-user] Process.Wait freeze

2017-08-13 Thread Jussi Lahtinen
See attached project. Module mTest.DoTests the loop starting from 1680 freezes randomly in one of the hProcess.Wait commands. This may be old bug, because I haven't update the sources for quite a while. [System] Gambas=3.10.90 r8175 OperatingSystem=Linux Kernel=3.19.0-32-generic

Re: [Gambas-user] Switching to GitLab

2017-08-13 Thread Jussi Lahtinen
> > > > To update, I wrote these commands: > > > > cd trunk > sudo make

Re: [Gambas-user] Gambas ML problem

2017-08-09 Thread Jussi Lahtinen
+1 Jussi On Wed, Aug 9, 2017 at 5:08 PM, Rolf-Werner Eilert wrote: > Am 09.08.2017 15:29, schrieb Gianluigi: > >> What is happening to our ML? >> It does not seem to work anymore. >> Charlie here [0] asks this but I do not have receive it, and the last >> mails >> I

Re: [Gambas-user] Shell command

2017-08-08 Thread Jussi Lahtinen
Isn't that exactly what I suggested..? However there shouldn't be crash anyway, only error raised. Jussi On Tue, Aug 8, 2017 at 4:43 AM, Shane wrote: > of cause missed that looking in wrong place > > Thanks Tony > > > > On 08/08/17 00:17, Tony Morehen wrote: > >>

Re: [Gambas-user] Shell command

2017-08-06 Thread Jussi Lahtinen
Is that all the code in the form? Can you give your system information? Jussi On Mon, Aug 7, 2017 at 3:35 AM, Shane <buster6se...@gmail.com> wrote: > Hi Jussi > > I gave that a try by commenting that line out still the same result so > that not the problem > > > &

Re: [Gambas-user] Shell command

2017-08-06 Thread Jussi Lahtinen
I guess settings component can't handle saving of arbitrary object. In this case "Settings["Options/stmDevice"] = ComboBox1.Current". Maybe you want to save ComboBox1.Current.Text? However there shouldn't be segfault. Jussi On Sun, Aug 6, 2017 at 7:18 AM, Shane wrote:

Re: [Gambas-user] why this could not be? error in runtime?

2017-07-28 Thread Jussi Lahtinen
No... again. My initial mail was correct. It should be: strinchar = Mid(strinchar, 1, (InStr(strinchar, ")", -1) - 1)) But the IDE makes highlighting bug with the brackets. Jussi On Sat, Jul 29, 2017 at 3:33 AM, Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > Hmmm... sor

Re: [Gambas-user] why this could not be? error in runtime?

2017-07-28 Thread Jussi Lahtinen
Hmmm... sorry, no mistake... I will look closer. Jussi On Sat, Jul 29, 2017 at 3:33 AM, Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > Because the line makes no sense at all. Try to remove ")". > > > Jussi > > On Fri, Jul 28, 2017 at 11:55 PM, PICCORO McK

Re: [Gambas-user] why this could not be? error in runtime?

2017-07-28 Thread Jussi Lahtinen
Because the line makes no sense at all. Try to remove ")". Jussi On Fri, Jul 28, 2017 at 11:55 PM, PICCORO McKAY Lenz wrote: > in the following code: > > strinchar = Mid(strinchar, 1, InStr(strinchar, ")", -1) - 1) > > IDE said error invalid argument, but if i do:

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1129: lybrary extern return illegal instruction

2017-07-27 Thread Jussi Lahtinen
How is the function called in C? Jussi On Thu, Jul 27, 2017 at 9:18 AM, wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.1129=L21haW4- > > Philippe BIENVAULT reported a new bug. > > Summary > --- > > lybrary extern return illegal instruction > > Type

Re: [Gambas-user] reading files

2017-07-24 Thread Jussi Lahtinen
"Title[30] As String" does not declare 30 characters, but 30 strings. Jussi On Tue, Jul 18, 2017 at 3:50 AM, Shane wrote: > i don't know what i am doing wrong > > Public Struct ID3v1_TAG '(128 bytes) > Tag[3] As String 'always TAG >

Re: [Gambas-user] About gambas, the word

2017-07-13 Thread Jussi Lahtinen
Many open source projects have animal name or logo. So I guess it's just old tradition. Jussi On Thu, Jul 13, 2017 at 11:18 AM, Jorge Carrión wrote: > It's a joke, I think. Searching for something that contains BAS, from > Basic. Why an animal I don't know. Benoit likes to

Re: [Gambas-user] how to trap show modal close response?

2017-07-10 Thread Jussi Lahtinen
Public Sub Main() Dim ii As Integer = FLogin.ShowModal() End ''Now the ii contains the output. PS. Are you sure that is override of something? Jussi On Mon, Jul 10, 2017 at 11:02 PM, PICCORO McKAY Lenz wrote: > i have a simple module: > > > Public Sub Main() > >

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread Jussi Lahtinen
> Coz it stops at a defined place, not just next time the eventloop runs. The eventloop needs to hit menu click for that to happen anyway... also I don't get why that matters. But I guess it's up to your taste. Jussi

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread Jussi Lahtinen
I don't understand why you need stop menu to your project. Why can't you just use the stop button from the IDE? Jussi On Mon, Jul 3, 2017 at 11:38 PM, adamn...@gmail.com wrote: > On Mon, 3 Jul 2017 20:40:46 +0200 > Tobias Boege wrote: > > > > I'm

Re: [Gambas-user] who to detect if are running inside IDE

2017-07-03 Thread Jussi Lahtinen
I don't know how this reacts to Gambas scripts, but for "normal" projects it works. #If Exec Print "Executable" #Else Print "IDE" #Endif Jussi On Mon, Jul 3, 2017 at 8:23 PM, PICCORO McKAY Lenz wrote: > a piece of code to who to detect if are running inside IDE? any

Re: [Gambas-user] how specifiy the shell in a shell gambas call, wiki does not give example

2017-07-02 Thread Jussi Lahtinen
Since it's string, I assume: System.Shell = "/bin/sh" Jussi On Sun, Jul 2, 2017 at 5:44 PM, PICCORO McKAY Lenz wrote: > how can i use that, there's no example, : > Specifying The Shell > > SINCE 3.1 > > You can specify which shell is used for running the command with

[Gambas-user] Fwd: Problem to be examined by those who must use UTF8 with Gambas

2017-07-01 Thread Jussi Lahtinen
-- Forwarded message -- From: Benoît Minisini <gam...@users.sourceforge.net> Date: Sun, Jul 2, 2017 at 1:14 AM Subject: Re: [Gambas-user] Problem to be examined by those who must use UTF8 with Gambas To: Jussi Lahtinen <jussi.lahti...@gmail.com>, ferna...@fcabral.com

Re: [Gambas-user] Problem to be examined by those who must use UTF8 with Gambas

2017-07-01 Thread Jussi Lahtinen
I don't quite get your description of the problem. It seems self contradictory. I mean this part: *'So, "`A" (coded as "\xC3\x80") will prevent the displaying of any string. Nevertheless, if I just try to display "Some text plus À and some text more" it will work.'* So, what exactly does not

Re: [Gambas-user] Eliminating duplicates real fast... but adding text do textarea works in a snail pace

2017-07-01 Thread Jussi Lahtinen
Gambas have built in profiler. You might want to get familiar with it. Jussi On Sat, Jul 1, 2017 at 3:26 PM, Fernando Cabral < fernandojosecab...@gmail.com> wrote: > I want to share with you what seems to be my final solution for the problem > concerning breaking a text into words, counting

Re: [Gambas-user] how to determine if array its empty

2017-07-01 Thread Jussi Lahtinen
If you add the extra "if", then Gambas will do short-circuit evaluation. https://en.wikipedia.org/wiki/Short-circuit_evaluation Jussi On Sat, Jul 1, 2017 at 3:08 PM, Cristiano Guadagnino wrote: > Hi Gianluigi! > > On Sat, Jul 1, 2017 at 12:13 PM, Gianluigi

Re: [Gambas-user] SELECT CASE can evaluate multiple "CASE"? at same time

2017-07-01 Thread Jussi Lahtinen
"Case 1, 2" will do the job. Jussi On Sat, Jul 1, 2017 at 2:12 PM, PICCORO McKAY Lenz wrote: > SELECT CASE can evaluate multiple "CASE"? i mean > > *Select* *Case* w *Case* *1 or 2* > print "evaluatin multiple cases at same time" *Case* *Else* *Print* "This > is

Re: [Gambas-user] I need a hint on how to deleted duplicate items in a array

2017-06-27 Thread Jussi Lahtinen
As Fernando stated your code is good only for small arrays. But if someone is going to use it, here is correct implementation: For x = 0 to a.Max if z.Find(a[x]) = -1 Then z.Add(a[x]) Next z.Exist() might be faster... I don't know. Jussi On Tue, Jun 27, 2017 at 6:59 PM,

Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?

2017-06-25 Thread Jussi Lahtinen
People gave you good correct answers. Gambas is not C, and you cannot fix bad code structure by using goto. Remember that people here are spending quite a lot of time to decrypt your messages to be able to help you. And you don't even bother to use spell checker. Little bit respect towards others.

Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?

2017-06-22 Thread Jussi Lahtinen
Depends on situation. Usually goto is not needed, but it can be useful. Impossible to say more without seeing the code. Usually the problem with goto is that it can render the code hard to debug or read. Jussi On Thu, Jun 22, 2017 at 4:21 PM, PICCORO McKAY Lenz wrote:

Re: [Gambas-user] Strange behaviour of File.Read

2017-06-21 Thread Jussi Lahtinen
Perhaps more clear this way, maybe your file contains line: "/home/bill/Pictures/Family/Visits/2000-07-29" instead of /home/bill/Pictures/Family/Visits/2000-07-29 . So, the quote marks shouldn't be there... Jussi On Wed, Jun 21, 2017 at 10:47 PM, Jussi Lahtinen <jussi.lahti...@gma

Re: [Gambas-user] Strange behaviour of File.Read

2017-06-21 Thread Jussi Lahtinen
Is that the literal output? Because if there really are quote marks, then the command is equal to: Print IsDir("\"/home/bill/Pictures/Family/Visits/2000-07-29\"") Which is clearly false. However if it is not literal output, then it is impossible to say what is read from the file to the

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Jussi Lahtinen
Oh, sorry... this way of course: Dim sStr As String = "abc. def!!! ghi? jkl: (mno)" Dim sWords As String[] sWords = Split(sStr, " .!?:()", "", True) ''Expand as you will. For ii = 0 To sWords.Max Print sWords[ii] Next Jussi On Sun, Jun 18, 2

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Jussi Lahtinen
I think I would do something like: Dim ii As Integer Dim sStr As String = "abc defg hijkl" Dim sWords As String[] sWords = Split(sStr, " ") For ii = 0 To 2 Print sWords[ii] Next Jussi On Sun, Jun 18, 2017 at 2:57 AM, Fernando Cabral < fernandojosecab...@gmail.com> wrote: >

Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Jussi Lahtinen
, PICCORO McKAY Lenz <mckaygerh...@gmail.com> wrote: > 2017-06-06 14:32 GMT-04:00 Jussi Lahtinen <jussi.lahti...@gmail.com>: > > I think many times short example codes tells much more, than human > language > > explanation. If the function, variable, etc names ar

Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Jussi Lahtinen
I think many times short example codes tells much more, than human language explanation. If the function, variable, etc names are in English, then I think it is usually enough. Maybe some short comments are necessary sometimes. Let the Gambas be our common language. Jussi On Tue, Jun 6, 2017

Re: [Gambas-user] Change the code and copy in other project

2017-05-25 Thread Jussi Lahtinen
will look for another way to do this. > > Regards > Gianluigi > > 2017-05-25 21:36 GMT+02:00 Jussi Lahtinen <jussi.lahti...@gmail.com>: > > > Src folder contains the source code for your project. You don't need to > use > > IDE to copy or edit the files. >

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Jussi Lahtinen
com > wrote: > as code i send, only contanis two connection objects, one for odbc and > other for sqlite > > but i cannot see or debug it, due the interface does not show nothing ... > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-05-25 15:31 GMT-

Re: [Gambas-user] Change the code and copy in other project

2017-05-25 Thread Jussi Lahtinen
Src folder contains the source code for your project. You don't need to use IDE to copy or edit the files. Compiled binary does not contain source code, nor the compiling touches to the src folder. It is only read during the compilation. Jussi On Thu, May 25, 2017 at 9:06 PM, Gianluigi

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Jussi Lahtinen
ith project where i used collections gambas get slower after > some hours... > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-05-25 10:59 GMT-04:00 Jussi Lahtinen <jussi.lahti...@gmail.com>: > > > Collection requires more memory than stri

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Jussi Lahtinen
now in gamba 3.9 ther's some doc-online problems with cache and some memory > manage problems.. > > but for not specialized programmers its very difficult to debug, find and > report LIKE THE QT problem.. > > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blo

Re: [Gambas-user] ​ Re: Keyboard locked -- insisting one more time

2017-05-24 Thread Jussi Lahtinen
Please post the replies to the list, so that Benoit will see them. I don't know enough about the topic. Jussi On Thu, May 25, 2017 at 1:46 AM, Fernando Cabral < fernandojosecab...@gmail.com> wrote: > 2017-05-24 18:54 GMT-03:00 Jussi Lahtinen <jussi.lahti...@gmail.com>: &

Re: [Gambas-user] ​ Re: Keyboard locked -- insisting one more time

2017-05-24 Thread Jussi Lahtinen
Do you have ~/.xinputrc ? I think you can just change "run_im xim" to "run_im scim", or create the file with latter line, if it doesn't exist. Then you need to log out and log in. I suggest to try this with virtual machine first or with different user. So that it is easy to change things back, if

Re: [Gambas-user] when i used collections on my code, gambas get hangs!

2017-05-24 Thread Jussi Lahtinen
Impossible to say anything without seeing the code, which causes the problem. Jussi On Thu, May 25, 2017 at 12:11 AM, PICCORO McKAY Lenz wrote: > i change the odbc code for huge data to transport only two objects with a > string, and i noted that gambas before hangs

Re: [Gambas-user] Keyboard locked -- insisting one more time

2017-05-15 Thread Jussi Lahtinen
Can you both send Xorg.0.log (usually in /var/log/)? Jussi On Mon, May 15, 2017 at 5:01 PM, Fernando Cabral < fernandojosecab...@gmail.com> wrote: > Gláucio wrote: > > gda@acer:~$ sudo gambas3 > > [sudo] senha para gda: > > X Error: BadAccess (attempt to access private resource denied) 10 > >

Re: [Gambas-user] String[].Find finds nothing

2017-05-10 Thread Jussi Lahtinen
On Wed, May 10, 2017 at 11:04 PM, Matti <matti.e...@vodafone.de> wrote: > Jussi, could you please explain? > Yes, I have to match the beginning of the string - but what means a > "heuristic guess for the index"? > > Am 10.05.2017 um 21:25 schrieb Jussi Lahtinen: &

Re: [Gambas-user] String[].Find finds nothing

2017-05-10 Thread Jussi Lahtinen
) > array with 'For...Next'. > I hoped to make it faster with 'Find'. > > Am 10.05.2017 um 20:59 schrieb Jussi Lahtinen: > > For that use; String.InStr(sYourArray[iIndex], "Chr") > > > > > > Jussi > > > > > > On Wed, May 10, 2017 at 9:24 PM, Matt

Re: [Gambas-user] String[].Find finds nothing

2017-05-10 Thread Jussi Lahtinen
For that use; String.InStr(sYourArray[iIndex], "Chr") Jussi On Wed, May 10, 2017 at 9:24 PM, Matti wrote: > Oh yes, oh yes! > Thank you, Jorge. > I always thought, Value could also be part of a string. > > Am 10.05.2017 um 19:08 schrieb Jorge Carrión: > > Wiki says:

Re: [Gambas-user] Editing still blocked

2017-05-09 Thread Jussi Lahtinen
Maybe some window manager setting steal focus from the editor..? Jussi On Wed, May 10, 2017 at 2:01 AM, Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > I can edit the project here without problems. Very strange. It's not > specific to Linux Mint 18.10, used Gambas version o

Re: [Gambas-user] Editing still blocked

2017-05-09 Thread Jussi Lahtinen
generated as instructed. > (Code quality is pretty poor because this was my first try at gambas). > > - fernando > > > 2017-05-09 18:56 GMT-03:00 Jussi Lahtinen <jussi.lahti...@gmail.com>: > >> Can you try to re-send the project directory as the file you attached is >>

Re: [Gambas-user] Editing still blocked

2017-05-09 Thread Jussi Lahtinen
Also what happens if you try to edit the project with regular text editor, instead of Gambas? Jussi On Wed, May 10, 2017 at 12:56 AM, Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > Can you try to re-send the project directory as the file you attached is > not extractable. Do

Re: [Gambas-user] Editing still blocked

2017-05-09 Thread Jussi Lahtinen
be a file somewhere whose > name does not contain "gambas" that says I should not be able to edit any > source code. I am about to give up. > > Regards > > - fernando > > 2017-05-09 17:47 GMT-03:00 Jussi Lahtinen <jussi.lahti...@gmail.com>: > >> Remov

Re: [Gambas-user] Editing still blocked

2017-05-09 Thread Jussi Lahtinen
Remove *all* installations of Gambas 3 (made from PPAs, repos, compiled, etc), and then run these commands: sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 /usr/local/bin/gbs3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 sudo

Re: [Gambas-user] Editing still blocked

2017-05-08 Thread Jussi Lahtinen
meanwhile. Jussi On Mon, May 8, 2017 at 4:20 PM, Fernando Cabral < fernandojosecab...@gmail.com> wrote: > 2017-05-08 10:03 GMT-03:00 Jussi Lahtinen <jussi.lahti...@gmail.com> > wrote: > >> So Gambas IDE does *not* claim the project is locked, but you simply >>

Re: [Gambas-user] Editing still blocked

2017-05-08 Thread Jussi Lahtinen
So Gambas IDE does *not* claim the project is locked, but you simply cannot edit anything. Can you give your system information? Jussi On Mon, May 8, 2017 at 3:37 PM, Fernando Cabral < fernandojosecab...@gmail.com> wrote: > > 2017-05-08 8:43 GMT-03:00 Charlie wrote: > >

Re: [Gambas-user] Math Operation

2017-05-05 Thread Jussi Lahtinen
ail.com>: > > I think the copy is not necessary. I want just access in one element on > return array. Thank for your help > > > > > > ____ > > De : Jussi Lahtinen <jussi.lahti...@gmail.com> > > Envoyé : jeudi 4 mai 2017 15:12 >

Re: [Gambas-user] Math Operation

2017-05-04 Thread Jussi Lahtinen
Declare the function as: Function calcul_coefficients(x As Integer, y As Integer, degre As Integer) As Float[] Then return the answer as (this is for convenience as copy returns new object instance): Return [a, b, c].Copy() Jussi On Thu, May 4, 2017 at 5:41 PM, cheikh diabang

Re: [Gambas-user] Time, date & Settings

2017-03-27 Thread Jussi Lahtinen
wrote: > Le 27/03/2017 à 17:02, Jussi Lahtinen a écrit : > >> Using the development version, you have to store your date in the > >> settings file using CStr(), and read it using CDate(). > >> > > > > That does not work if the settings file is written in E

Re: [Gambas-user] Time, date & Settings

2017-03-27 Thread Jussi Lahtinen
> Using the development version, you have to store your date in the > settings file using CStr(), and read it using CDate(). > That does not work if the settings file is written in English and opened in Finnish. CDate() just fails silently (returns null). Jussi

[Gambas-user] Time, date & Settings

2017-03-26 Thread Jussi Lahtinen
Hi! I'm trying to figure way to handle time & date correctly, ignoring timezone and "daylight saving" adjustments. I can't get things work nicely with settings component as it does not save the value in universal format. Example if you write settings in English and open them in Finnish, you will

Re: [Gambas-user] how to know when a form runnig was invoked from another or not?

2017-03-24 Thread Jussi Lahtinen
tend on the _New function (the constructor) > > > > 2017-03-24 14:58 GMT+01:00 Jussi Lahtinen <jussi.lahti...@gmail.com>: > > I don't understand why it is bad to pass value to indicate where the form > > was invoked..? > > > > > > Jussi > > > > On

Re: [Gambas-user] how to know when a form runnig was invoked from another or not?

2017-03-24 Thread Jussi Lahtinen
I don't understand why it is bad to pass value to indicate where the form was invoked..? Jussi On Fri, Mar 24, 2017 at 3:41 PM, PICCORO McKAY Lenz wrote: > arrgg fatherform way and "bambino" flag way are in fact same.. > > both suggestions need a value to pass and

Re: [Gambas-user] EXEC progress

2017-03-22 Thread Jussi Lahtinen
> Yes, a progress bar or even just a label showing which operation is > current. > hProc = Exec ["ffmpeg", "-i", sPathTape, etc, etc] Wait For Output As > "Process" > > with > > Public Sub Process_Read() > Dim sData As String > Read #Last, sData, -255 >Label1.caption = sData > End > >

Re: [Gambas-user] EXEC progress

2017-03-22 Thread Jussi Lahtinen
Process_Read simply reads output of the executed program. Is something lost, which is expected to show up? Jussi On Wed, Mar 22, 2017 at 7:01 PM, bill-lancaster wrote: > I have a series of EXEC command line jobs. The whole lot takes some time > and > it would be

Re: [Gambas-user] class

2017-02-16 Thread Jussi Lahtinen
OK, so the signature is not updated... have you tried to recompile all from Gambas IDE? Is that library or regular Gambas project? Jussi On Fri, Feb 17, 2017 at 4:08 AM, Shane <buster6se...@gmail.com> wrote: > Looks Like Pic1 > > and then pic2 > > > > > On 17/02/

Re: [Gambas-user] class

2017-02-16 Thread Jussi Lahtinen
ew these four variables remain > > On 17/02/17 12:15, Jussi Lahtinen wrote: > > AFAIK Gambas does not reverse your changes... do you mean the IDE crashes > > every time you try to make the changes? > > Can you send the source? > > > > > > Jussi >

Re: [Gambas-user] class

2017-02-16 Thread Jussi Lahtinen
AFAIK Gambas does not reverse your changes... do you mean the IDE crashes every time you try to make the changes? Can you send the source? Jussi On Fri, Feb 17, 2017 at 3:03 AM, Shane wrote: > So gambas ide crashed while editing source code now i can't change a > class

Re: [Gambas-user] What has happened to Dialog.SaveFile ??

2017-02-12 Thread Jussi Lahtinen
gam...@users.sourceforge.net> wrote: > Le 12/02/2017 à 21:16, Jussi Lahtinen a écrit : > > Hi! > > See the attached project. Go to menu; File --> Backup / Restore Alarms > and > > select Backup alarms. > > If the file exist already I will get strange translatio

[Gambas-user] What has happened to Dialog.SaveFile ??

2017-02-12 Thread Jussi Lahtinen
Hi! See the attached project. Go to menu; File --> Backup / Restore Alarms and select Backup alarms. If the file exist already I will get strange translation (not the one I made!). And when I try to over write the existing file I will get "too many arguments". This used to work, but not with some

Re: [Gambas-user] Sort multidimensional array?

2017-02-07 Thread Jussi Lahtinen
Not sure what you are trying to do, but you just keep on adding things to array B, and then adding the same reference of that array to array A. Maybe you instead wanted this: Dim A As New Variant[] Dim B As Variant[] Dim i, j As Integer For i = 0 To 9 B = New Variant[] For j = 0

Re: [Gambas-user] how-to execute file or bash script packaged inside Gambas

2017-01-29 Thread Jussi Lahtinen
ssions on > > sTempscript to rwx using chmod. Then the script will run. > > > > > > > > Now that caused another problem. The script passes parameters to a python > > program that is still in the project directory not in /tmp…. This causes > a > > file no

Re: [Gambas-user] how-to execute file or bash script packaged inside Gambas

2017-01-29 Thread Jussi Lahtinen
The script passes parameters to a python > program that is still in the project directory not in /tmp…. This causes a > file not found error when the script executes. These temp files remain > after the program exits. I should delete the when the program exits. > > > > What should I do to

  1   2   3   4   5   6   7   8   9   10   >