Peace to all!
Webforms seem to be awesome but there's no examples and documentation is
still quite poor. Controls on webforms do not go appear where they are
placed in the form, tab completion of events crashes the IDE(e.g. webbutton
_click event)...
Does anyone have a sample of a web app which
There is a software called NSBasic that can build Android apps and is very
similar to VB/Gambas.
Not free but works fine.
--
View this message in context:
http://gambas.8142.n7.nabble.com/Re-Gambas-in-a-tablet-Is-it-possible-tp59715p59734.html
Sent from the gambas-user mailing list archive
Peace to all,
this might a bit silly but what is the best way to format float values like
26.66016 into having two digits AND/OR with rounding them?
e.g.
26.66016 becomes 26.66 shortened
26.66016 becomes 26.67 rounded
cheers!
--
View this message in context:
Peace,
Can gbr3 be made to log fatal interpreter errors to file?
Thanks!
--
View this message in context:
http://gambas.8142.n7.nabble.com/Logging-errors-in-apps-running-as-Application-Daemon-tp59450p59565.html
Sent from the gambas-user mailing list archive at Nabble.com.
Peace!
Making apps daemons is exactly what I want to achieve, but couldn't get
interpreter errors to log to file in native daemon mode. So I thought maybe
a wrapper can start a non daemon app, intercept all output including
interpreter errors, and go into background?
This is boot time start
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:
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:
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
Peace to all,
I have some Gb projects that are in Application.Daemon mode. But sometimes
if process dies for whatever reason, I can't see what the last error was. I
have to run it in a console without daemonizing and wait for it to die and
show last reason (like "#13: Null object" or something).
Okay,
so if i run gbc3 on the project before gba3, it should compile it and then
archive it, right?
peace!
--
View this message in context:
http://gambas.8142.n7.nabble.com/Building-binaries-with-gba3-sometimes-fails-tp59410p59414.html
Sent from the gambas-user mailing list archive at
sorry, I meant I compile using gba3. Or does it also not account for changes?
thanks!
--
View this message in context:
http://gambas.8142.n7.nabble.com/Building-binaries-with-gba3-sometimes-fails-tp59410p59412.html
Sent from the gambas-user mailing list archive at Nabble.com.
Dear all,
I come in peace. I have some shell scripts to batch compile a bunch of
Gambas 3 projects. Sometimes I notice the gbr3 builds an executable, but it
it does NOT include some latest and saved changes...
I have to open the project and run it in the IDE, close IDE, and gbr3 it
again for it
Using a Library works well, thanks!
Is it possible to name it something other than .gambas? like
XYZ_Super_Library.lib?
--
View this message in context:
http://gambas.8142.n7.nabble.com/Sharing-Code-Between-Projects-tp59251p59292.html
Sent from the gambas-user mailing list archive at
Correct, "import" only creates a local copy, and using a symlink results in a
read only code in the IDE.
The goal is to edit shared centralised modules and having all projects see
the changes.
Thanks
--
View this message in context:
Dear All,
I have multiple projects sharing certain modules such as logging, config
routines... I created a symlink in each project's .src directory pointing to
the actual file (with relative path like ln -s
../../../../SHARED/Mod_Logging.module)
Gambas sees it, also recognizes it as a link (icon
Good day all,
is there a way to have a routine execute in a class as soon as a new
instance of it is created? I have a Public Sub Main() but it doesn't seem to
run.
I come to Gambas from Xojo and there classes have a Constructor() sub which
runs on init.
thanks!
--
View this message in
awesome!
Lsl() does not have a definition (F2) in Gambas UI it seems though, at least
not 3.9.2.
also too bad Gambas UI help does not have a Search function (or does it?)
thanks!
--
View this message in context:
Good day all,
In a serial string I receive a 16 bit value split into MSB and LSB in hex,
for example 15000 (3A 98) is sent as 2 bytes containing decimal values of
3A and 98.
To convert that to decimal, I have to convert each to hex strings, join
them, add to it and then convert "" to decimal.
it works fine - it was a strange serial port hardware issue. All the "Read"
methods suggested above work, Thanks to all!
--
View this message in context:
http://gambas.8142.n7.nabble.com/Serial-I-O-with-byte-data-tp58933p58995.html
Sent from the gambas-user mailing list archive at Nabble.com.
Hmm eureka, it's 02 53 = 0x53
Or 02 25 = 0x25...
Where could that 02 be from?
Cheers!
--
View this message in context:
http://gambas.8142.n7.nabble.com/Serial-I-O-with-byte-data-tp58933p58986.html
Sent from the gambas-user mailing list archive at Nabble.com.
Thanks, it works (both with .tostring and reading one by one...
But I get values I don't know how to convert, e.g. where I expect a decimal
83 or hex 53 I get byte value of 253 ... Or instead of Decimal 15 I get 225
:(
cheers!
--
View this message in context:
Good day all,
Anyone know how to read data received on serial port into an array of bytes
instead of string? String gets unreadable binary characters, so how can I
put them into byte[] or so?
Thanks!
--
View this message in context:
Thanks Mike,
what I have is pretty much the same, it's this line that causes everything
to stop.
*Read #Sport, Rx, Lof(Sport) *
A very similar program written in Xojo on the same system using same serial
port works just fine. In Gambas, things just stop executing as soon as I do
a Read on that
Dear all,
I am receiving data over a serial port which is sent by a byte[].write
function (an array of bytes)
I get the SerialPort1_read() event raised where I try to read data, RxBuffer
is a string var
*Try Read #SerialPort1, RxBuffer, Lof(SerialPort1)*
as soon as I do, the whole program
Well thanks Tobias, that's a great idea.
The "AXprotector" ELF protector encrypts the executable so it should be
safe.
Any suggestions how to build such a self-extractor ELF?
thanks!
--
View this message in context:
Good day all,
anyone know of a way to make an ELF format file from Gambas executable?
I try a "software protection" system (WIBU KEY), to protect a Gambas project
from unwanted copying, but it can only protect ELF binaries and doesn't
recognize a Gambas executable.
Cheers!
--
View this
Dear all,
has anyone noticed? in Gambas UI once you use Tab to suggest and
autocomplete a word, it becomes not possible to select any lines or move
cursor with the mouse. Only arrow keys work, and only solution is to press
Enter on some new line or switch to a different editor tab and come back.
System.Backtrace[1] did it, thanks ub2@ !!!
--
View this message in context:
http://gambas.8142.n7.nabble.com/Get-name-of-the-calling-function-tp57684p57691.html
Sent from the gambas-user mailing list archive at Nabble.com.
Hello Gambas users,
anyone have any idea how to get the name of the calling function and pass it
to logger or complexlogger ?
The $(callLocation)] format option shows "[ComplexLogger.Log.60] ", but not
where the log was called from.
Would be very useful to know which function the log was called
29 matches
Mail list logo