Anyone know if there is a wrapper to daemonize apps while keeping them in
regular console mode? That way maybe it will be possible to log fatal
interpreter errors?
Peace!
--
View this message in context:
On Thu, 22 Jun 2017, PICCORO McKAY Lenz wrote:
> > i only use to avoid a similar to this:
> >
> > if isnull(value ) then
> >' amount of 4000 lines of code
> > else
> >' amount of other lot of lines
> > endif
> > if not isnull()
> > goto codepiecelabel1
> > endif
> > ' amount of lines
Sometimes GOTO is needed...especially if you want your code to run faster.
Used properly and judiciously, it can make code reading much easier.
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: Cristiano Guadagnino
To: mailing
of course was a simple lines.. the code are around 3000 lines.. yes its
complicated..
i have vision . of course.. make the work as JAva works, in the future
maybe i make a framework based on my eforces
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
2017-06-22 10:24 GMT-04:00
Based on your example, I would not find the code using GOTO any more
readable. Quite to the contrary, instead.
And I don't understand why you cannot use a sub. What's the problem with
variables that cannot be solved by passing the needed variables or using
globals?
Anyway, coding style is a
2017-06-22 10:00 GMT-04:00 Jussi Lahtinen :
> Usually the problem with goto is that it can render the code hard to debug
> or read.
>
AH OK, so in large complex dependences must be avoid..
i only use to avoid a similar to this:
if isnull(value ) then
' amount of
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:
Le 22/06/2017 à 15:21, PICCORO McKAY Lenz a écrit :
i have some GOTO to avoit large IF-ELSE code blocks and make readable the
code..
the usage of many GOTO instructions can be bad pracitce or make influence
in the code?
i remenber that in BASIC always tell me "dont use too much"
of course
i have some GOTO to avoit large IF-ELSE code blocks and make readable the
code..
the usage of many GOTO instructions can be bad pracitce or make influence
in the code?
i remenber that in BASIC always tell me "dont use too much"
of course GAMBAS IS NOT BASIC (umm that sound familiarr... ;-)
2017-06-22 7:28 GMT-04:00 Gianluigi :
> :-) de gustibus non est disputandum
>
O.o
> It did not work
>
why? maybe the problem of the ppa are the same of the curent instalation...
umm i already know now! you are using win... i mean winbuntu!
X-D
> > in any case using a
well, at least system.backtrace[1] (or error.backtrace[0] seem to show the
error line.
But it would be nice to get fatal interpreter errors written to a file.
cheers!
--
View this message in context:
Le 22/06/2017 à 13:56, alexchernoff a écrit :
Peace!
Well, Public Sub Application_Error() does fire upon a fatal error, but is it
possible to know what the last error was?
cheers!
At the moment, no.
--
Benoît Minisini
Peace!
Well, Public Sub Application_Error() does fire upon a fatal error, but is it
possible to know what the last error was?
cheers!
--
View this message in context:
http://gambas.8142.n7.nabble.com/Logging-errors-in-apps-running-as-Application-Daemon-tp59450p59502.html
Sent from the
2017-06-22 12:32 GMT+02:00 PICCORO McKAY Lenz :
> its the worst instalacion i never see,
>
:-) de gustibus non est disputandum
>
> why not only just use the ppa?
>
It did not work
>
> in any case using a specific desktop nothing to do related respect to
> launch or
its the worst instalacion i never see,
why not only just use the ppa?
in any case using a specific desktop nothing to do related respect to
launch or run!
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
2017-06-22 5:57 GMT-04:00 Gianluigi :
> He has two
He has two desktops on his Ubuntu, Unity and Gnome 3.24.2.
But he used only the Gnome desktop.
I asked him if on Unity Gambas is working.
After trying to run Gambas on Unity successfully, Gambas started working on
the Gnome desktop as well.
I hope to have better explained.
Regards
Gianluigi
Le 22/06/2017 à 11:37, Gianluigi a écrit :
Hi Benoit,
problem solved.
He forgot to tell us he has Ubuntu with Unity and Gnome but uses only Gnome.
It was enough to run Gambas on Unity, which then started running on Gnome.
Regards
Gianluigi
Sorry I don't understand what you wrote.
--
Benoît
Hi Benoit,
problem solved.
He forgot to tell us he has Ubuntu with Unity and Gnome but uses only Gnome.
It was enough to run Gambas on Unity, which then started running on Gnome.
Regards
Gianluigi
2017-06-22 9:40 GMT+02:00 Gianluigi :
> Missing attached here, sorry
>
>
Missing attached here, sorry
Regards
Gianluigi
2017-06-21 15:32 GMT+02:00 Benoît Minisini :
> Le 21/06/2017 à 15:29, Benoît Minisini a écrit :
>
>> Le 21/06/2017 à 15:25, Gianluigi a écrit :
>>
>>> The libreries you have indicated are the last 5 of the command I
Hi Benoit,
our friend reports that now opens the tips window that works, but when he
closes the window Gambas does not start.
What other information do you need?
I asked him for an image, and if he finds Gambas out of the dash
Attached the new log files, it seems all right.
Regards
Gianluigi
http://gambaswiki.org/bugtracker/edit?object=BUG.1091=L21haW4-
Comment #7 by hakan UNVER:
Hii I try Step by step explain.
- We connect Mysql server
- user working smoothly.
- Any Time Mysql Server Stop or have network problem..
- If the user does something at this time
- MYSQL_OPT_RECONNECT
The directory string was written from a directory chooser, originally via a
string variable - this is where the quotes came from.
Using a variant produces a string without quotes and presumably without \n
Thanks again
--
View this message in context:
22 matches
Mail list logo