Search found 168 matches

by thatbruce
Thursday 9th September 2021 9:09pm
Forum: General
Topic: Create Install package for debian
Replies: 17
Views: 9908

Re: Create Install package for debian

What I am about to tell you is absolutely top secret and you should not show it to any one else! The Gambas packager assumes that you have installed Gambas from a packaged origin i.e. as binaries from some distro or other. However, not all distros package Gambas in the structure recommended in the w...
by thatbruce
Thursday 9th September 2021 8:04pm
Forum: General
Topic: Create Install package for debian
Replies: 17
Views: 9908

Re: Create Install package for debian

Well, a quick look through the debian 15.2 packages themselves (from that link you provided) reveals that the runtime is only packaged for the mipsel architecture. In fact, having a geezer at other Gambas3 packages it looks like they were put together by a "committee". Some for this archit...
by thatbruce
Thursday 9th September 2021 7:44pm
Forum: General
Topic: SOLVED: Multiline statement
Replies: 5
Views: 3535

Re: SOLVED: Multiline statement

I forgot to mention!

If you build your queries in an external tool, say something like dBeaver, you can copy your query and then in the IDE do a paste special (Shift + Ctl + V). In the popup there is an option down the bottom to paste "as multi-line string".

b
by thatbruce
Thursday 9th September 2021 2:09pm
Forum: General
Topic: SOLVED: Multiline statement
Replies: 5
Views: 3535

Re: Multiline statement

Love Gambas and it is working very well. I have some long SQL type statements, and my limited mind cannot figure out the best way to accomplish it without just multiple lines of SQLString = SQLString & xyz SQLString = SQLString & abc SQLString = SQLString & edf... I tried the VB method ...
by thatbruce
Wednesday 8th September 2021 6:01pm
Forum: General
Topic: RS232 / Serial Scale Help
Replies: 28
Views: 14690

Re: RS232 / Serial Scale Help

Because you haven't told us, I have to ask the obvious.

At the

Code: Select all

If Len(Global.ScaleData) > 0 Then
line have you inserted a breakpoint and inspected the value of the Global and the value of Global.ScaleData?

b
by thatbruce
Wednesday 8th September 2021 5:57pm
Forum: General
Topic: Create Install package for debian
Replies: 17
Views: 9908

Re: Create Install package for debian

I will have to do one at a time. Here's a clue, on the Destination Directory page of the wizard, there is a teeny-tiny leetle box at the bottom that says "Create directories for each distribution". This however brings me to the next problem. Seems the gambas3-runtime does not exist for de...
by thatbruce
Tuesday 7th September 2021 2:48pm
Forum: General
Topic: RS232 / Serial Scale Help
Replies: 28
Views: 14690

Re: RS232 / Serial Scale Help

Code: Select all

Try Read #RS232Scanner, Global.ScaleData, Lof(RS232Scanner)
    
    If Error Then
        Print "Error With Incoming Serial Data"
    Else
        Print "Nothing from Scale"
    Endif
If it is printing "Nothing from scale" then there is no error, i.e. the Read worked.
by thatbruce
Saturday 4th September 2021 11:43pm
Forum: General
Topic: Create Install package for debian
Replies: 17
Views: 9908

Re: Create Install package for debian

Firstly, clean out all the files in the target directory or change the target directory. This is so we have a "debuggable" work area. Then, repackage your project again. BUT only generate ONE Debian based package type (preferably just Debian and not Ubuntu) Post the package build log AND t...