[Gambas-user] User Digest, Vol 28, Issue 23

Steve G simonlebon54 at yahoo.com
Fri Jan 10 21:54:21 CET 2020


I have no idea what version I was using before. As far as what being used now it's whatever the latest one is available in the Fedora repos.

What I mean by it becomes read only. Is that initially I could write to that array. I have to be update I get an error that the array is read-only. That is what I mean by it becomes read only. There's a change in The Interpreter somewhere that made that a read-only array where it used to be a read and write. However that's inconsequential that was annoying for the changes. The big issue is the font sizes. I have also noticed that sometimes when I print aside from the font size is being screwed up. Sometimes and I haven't figured out the pattern, it prints just some of the highlight colors and lines and absolutely no text whatsoever. And then when I reprint it immediately after everything comes out fine. Minus the font size issues.

If I'm one of the few people having a problem like this I wonder if a flawed interpreter was released into the Fedora repos and the corrections have not come through yet. Fedora is notorious for taking time for updates to get into the public.

⁣Sent from TypeApp ​

On Jan 10, 2020, 11:47, at 11:47, user-request at lists.gambas-basic.org wrote:
>Send User mailing list submissions to
>	user at lists.gambas-basic.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.gambas-basic.org/listinfo/user
>or, via email, send a message with subject or body 'help' to
>	user-request at lists.gambas-basic.org
>
>You can reach the person managing the list at
>	user-owner at lists.gambas-basic.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of User digest..."
>
>
>Today's Topics:
>
>   1. Re: User Digest, Vol 28, Issue 20 (Beno?t Minisini)
>   2. Re: User Digest, Vol 28, Issue 20 (Jussi Lahtinen)
>   3. Re: User Digest, Vol 28, Issue 20 (Steve G)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 10 Jan 2020 21:00:53 +0100
>From: Beno?t Minisini <g4mba5 at gmail.com>
>To: user at lists.gambas-basic.org
>Subject: Re: [Gambas-user] User Digest, Vol 28, Issue 20
>Message-ID: <db63fe72-ea3a-3c2a-eae4-7499408e193a at gmail.com>
>Content-Type: text/plain; charset=utf-8; format=flowed
>
>Le 10/01/2020 ? 20:51, Steve G via User a ?crit?:
>> I used to use.
>> 
>> Private a[300] as string
>> 
>> Declared in top of module
>> 
>> That now becomes read only.
>> As for fonts it is in the paint.font.size while printing to paper.
>The 
>> 18 point becomes 22 when printed and a 8 becomes 4 when printed. It's
>
>> just all over the place
>
>We are progressing...
>
>What do you mean exactly by "it becomes read-only"?
>
>Still you don't tell use which version of Gambas you have now against 
>which one you had before the update...
>
>-- 
>Beno?t Minisini
>
>
>------------------------------
>
>Message: 2
>Date: Fri, 10 Jan 2020 22:05:24 +0200
>From: Jussi Lahtinen <jussi.lahtinen at gmail.com>
>To: Gambas Mailing List <user at lists.gambas-basic.org>
>Cc: Steve G <simonlebon54 at yahoo.com>
>Subject: Re: [Gambas-user] User Digest, Vol 28, Issue 20
>Message-ID:
>	<CAFJMe7RDsnotfBkSWOcoRFC==4MHkZe=uBprhxdLNMdPcLan4w at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>For what reason you are using embedded arrays?
>Maybe you want;
>Private a as new string[300]
>
>They are faster and don't have restrictions.
>
>
>Jussi
>
>On Fri, Jan 10, 2020 at 9:53 PM Steve G via User <
>user at lists.gambas-basic.org> wrote:
>
>> I used to use.
>>
>> Private a[300] as string
>>
>> Declared in top of module
>>
>> That now becomes read only.
>> As for fonts it is in the paint.font.size while printing to paper.
>The 18
>> point becomes 22 when printed and a 8 becomes 4 when printed. It's
>just all
>> over the place
>>
>> Sent from TypeApp <http://www.typeapp.com/r?b=15723>
>> On Jan 10, 2020, at 09:02, user-request at lists.gambas-basic.org wrote:
>>>
>>> Send User mailing list submissions to
>>>  user at lists.gambas-basic.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>  http://lists.gambas-basic.org/listinfo/user
>>> or, via email, send a message with subject or body 'help' to
>>>  user-request at lists.gambas-basic.org
>>>
>>> You can reach the person managing the list at
>>>  user-owner at lists.gambas-basic.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of User digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>>    1. Re: How to Align.Justify (Gianluigi)
>>>    2. exec also working as shell why? (PICCORO McKAY Lenz)
>>>    3. Re: New update has screwed everything up. (Jussi Lahtinen)
>>>
>>>
>>> ------------------------------
>>>
>>>
>>> Message: 1
>>> Date: Fri, 10 Jan 2020 16:24:57 +0100
>>> From: Gianluigi <bagonergi at gmail.com>
>>> To: Gambas Mailing List <user at lists.gambas-basic.org>
>>> Subject: Re: [Gambas-user] How to Align.Justify
>>> Message-ID:
>>> 
><CAJ2rqFZ_WPbLT-gupVmDL27vD28-8cMaizkAUi5+kG9qcaB0-w at mail.gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Il giorno ven 10 gen 2020 alle ore 16:20 Gianluigi
><bagonergi at gmail.com> ha
>>> scritto:
>>>
>>>
>>>>  In .local/share/gambas3/gianluigi of your home folder.
>>>
>>>
>>>
>>> Edit: .local/share/gambas3/src/gianluigi
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL:
><https://lists.gambas-basic.org/pipermail/user/attachments/20200110/b0e863dc/attachment-0001.html>
>>>
>>> ------------------------------
>>>
>>>
>>> Message: 2
>>> Date: Fri, 10 Jan 2020 12:38:17 -0400
>>> From: PICCORO McKAY Lenz <mckaygerhard at gmail.com>
>>> To: Gambas Mailing List <user at lists.gambas-basic.org>
>>> Subject: [Gambas-user] exec also working as shell why?
>>> Message-ID:
>>> 
><CALci+FSXABk5QHjcD8q+wGMQ1cxN+qX4AJOLn1pW=WB9-7-Gtg at mail.gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> i have a code where i want to pass content to main.. but i never
>raised the
>>> content:
>>> cadena only are filled with content after main raises end, why .. if
>i not
>>> use shell?
>>> i attached the project
>>>
>>> i have a class and a module main, class are:
>>>
>>> Public cadena As String = "ver"
>>> Public linea As Collection
>>> Private lineas As String[]
>>>
>>> Public Sub Main()
>>> Exec ["cat", "/etc/courier/authdaemonrc"] For Read As "Processo"
>>> End
>>>
>>>
>>> Public Sub Processo_Read()
>>> Dim sLine As String
>>>  Dim llavevalor As String[]
>>>   Dim a As Integer
>>>   sLine = Read #Last, -256
>>>   cadena = cadena & sLine
>>>   lineas = Split(sLine, gb.NewLine, "", True)
>>>   For a = 0 To lineas.max
>>>       If RInStr(lineas[a], "=") > 0 And RInStr(lineas[a], "#") < 1
>Then
>>>         llavevalor = Split(lineas[a], "=", "\"", False, False)
>>>         linea.Add(llavevalor[1], llavevalor[0])
>>>       Endif
>>>   Next
>>> End
>>>
>>>
>>> SO in my Main modulo i have:
>>>
>>> Public Sub Main()
>>> Dim ver As New CourierConfigDetector
>>> ver.Main
>>> Print ver.cadena
>>> End
>>>
>>> cadena only are filled with content after main raises end, why .. if
>i not
>>> use shell?
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL:
><https://lists.gambas-basic.org/pipermail/user/attachments/20200110/5217dfeb/attachment-0001.html>
>>> -------------- next part --------------
>>> A non-text attachment was scrubbed...
>>> Name: courierauthtest-0.0.1.tar.gz
>>> Type: application/gzip
>>> Size: 11777 bytes
>>> Desc: not available
>>> URL:
><https://lists.gambas-basic.org/pipermail/user/attachments/20200110/5217dfeb/attachment-0001.gz>
>>>
>>> ------------------------------
>>>
>>>
>>> Message: 3
>>> Date: Fri, 10 Jan 2020 19:59:07 +0200
>>> From: Jussi Lahtinen <jussi.lahtinen at gmail.com>
>>> To: Gambas Mailing List <user at lists.gambas-basic.org>
>>> Cc: Beno?t Minisini <g4mba5 at gmail.com>, Steve G
>>>  <simonlebon54 at yahoo.com>
>>> Subject: Re: [Gambas-user] New update has screwed everything up.
>>> Message-ID:
>>> 
><CAFJMe7S0pqUAyzNz_b1U53D0fkHHvHZEKiQ5ZM9K3ZpkgTpQ-Q at mail.gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> There are no global variables in Gambas. Do you mean public
>variables? Can
>>> you give example code of what has changed?
>>> I don't see any changes in font sizes on Linux Mint.
>>>
>>>
>>> Jussi
>>>
>>> On Fri, Jan 10, 2020 at 4:11 AM Steve G via User <
>>> user at lists.gambas-basic.org> wrote:
>>>
>>>  I don't have the version available right now but I will get that
>for you.
>>>>  The global variables the way they were being declared became read
>only so
>>>>  they had to be declared differently. As far as the print I have
>multiple
>>>>  problems with that. Font sizes have changed their either miniscule
>or huge.
>>>>  I am currently going through every single program that prints and
>adjusting
>>>>  the font size is down two to four points each. I also occasionally
>get
>>>>  blank prints. I do not recall what version I was using but I did a
>update
>>>>  for all software and this is when all these problems kicked in. I
>also
>>>>  recall seeing something about other people having problems with
>various
>>>>  aspects of the new updates. I'm very upset about this because it
>looks like
>>>>  nobody bothered testing it. Even though I know that could not be
>the case.
>>>>  Bottom line I'm having massive problems in print. Problems that
>were not
>>>>  there until after the update. Perhaps you thought you were
>cleaning
>>>>  something up not thinking that people might be using it that way.
>>>>
>>>>  Sent from TypeApp <http://www.typeapp.com/r?b=15723>
>>>>  On Jan 9, 2020, at 16:46, "Beno?t Minisini" <g4mba5 at gmail.com>
>wrote:
>>>>
>>>>>
>>>>>  Le 10/01/2020 ? 02:33, Steve G via User a ?crit :
>>>>>
>>>>>   Using Fedora 30 and 31. Whatever the new runtime update is that
>came in,
>>>>>>   it changed how Global variables are declared which is caused me
>a lot of
>>>>>>   grief. It is also changed printing Styles. Seems as though the
>font size
>>>>>>   is no longer accepted. So my printing of things like receipts
>for
>>>>>>   people, is horribly screwed up. Is there an easy fix to this so
>that it
>>>>>>   works like it did before? Or am I going to have to spend months
>>>>>>   rewriting print so that it works right again?
>>>>>
>>>>>
>>>>>
>>>>>  Which version of Gambas do you have?
>>>>>
>>>>>  Which version did you use before?
>>>>>
>>>>>  What are you talking about?
>>>>>
>>>>>  There is no change in "how Global variables are declared". No
>idea what
>>>>>  you mean.
>>>>>
>>>>>  Same thing for "the font size is no longer accepted". What does
>it mean?
>>>>
>>>>
>>>>
>>>>  ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>
>>>
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL:
><https://lists.gambas-basic.org/pipermail/user/attachments/20200110/708baa1d/attachment.html>
>>>
>>> ------------------------------
>>>
>>>
>>> Subject: Digest Footer
>>>
>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>]----
>>>
>>>
>>> ------------------------------
>>>
>>>
>>> End of User Digest, Vol 28, Issue 20
>>> ************************************
>>>
>>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><https://lists.gambas-basic.org/pipermail/user/attachments/20200110/bd169344/attachment-0001.html>
>
>------------------------------
>
>Message: 3
>Date: Fri, 10 Jan 2020 11:43:31 -0900
>From: Steve G <simonlebon54 at yahoo.com>
>To: Jussi Lahtinen <jussi.lahtinen at gmail.com>
>Cc: Gambas Mailing List <user at lists.gambas-basic.org>
>Subject: Re: [Gambas-user] User Digest, Vol 28, Issue 20
>Message-ID: <85095b31-b5b7-47ed-82df-05ef319f643b at yahoo.com>
>Content-Type: text/plain; charset="utf-8"
>
>That's exactly what I had to do. However the other method was working
>up until the update. The premise was that I read a file in stored it
>and then performed various acts on that file. Using different
>subroutines. This way there was only one read one write
>
>?Sent from TypeApp ?
>
>On Jan 10, 2020, 11:05, at 11:05, Jussi Lahtinen
><jussi.lahtinen at gmail.com> wrote:
>>For what reason you are using embedded arrays?
>>Maybe you want;
>>Private a as new string[300]
>>
>>They are faster and don't have restrictions.
>>
>>
>>Jussi
>>
>>On Fri, Jan 10, 2020 at 9:53 PM Steve G via User <
>>user at lists.gambas-basic.org> wrote:
>>
>>> I used to use.
>>>
>>> Private a[300] as string
>>>
>>> Declared in top of module
>>>
>>> That now becomes read only.
>>> As for fonts it is in the paint.font.size while printing to paper.
>>The 18
>>> point becomes 22 when printed and a 8 becomes 4 when printed. It's
>>just all
>>> over the place
>>>
>>> Sent from TypeApp <http://www.typeapp.com/r?b=15723>
>>> On Jan 10, 2020, at 09:02, user-request at lists.gambas-basic.org
>wrote:
>>>>
>>>> Send User mailing list submissions to
>>>>  user at lists.gambas-basic.org
>>>>
>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>>  http://lists.gambas-basic.org/listinfo/user
>>>> or, via email, send a message with subject or body 'help' to
>>>>  user-request at lists.gambas-basic.org
>>>>
>>>> You can reach the person managing the list at
>>>>  user-owner at lists.gambas-basic.org
>>>>
>>>> When replying, please edit your Subject line so it is more specific
>>>> than "Re: Contents of User digest..."
>>>>
>>>>
>>>> Today's Topics:
>>>>
>>>>    1. Re: How to Align.Justify (Gianluigi)
>>>>    2. exec also working as shell why? (PICCORO McKAY Lenz)
>>>>    3. Re: New update has screwed everything up. (Jussi Lahtinen)
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>>
>>>> Message: 1
>>>> Date: Fri, 10 Jan 2020 16:24:57 +0100
>>>> From: Gianluigi <bagonergi at gmail.com>
>>>> To: Gambas Mailing List <user at lists.gambas-basic.org>
>>>> Subject: Re: [Gambas-user] How to Align.Justify
>>>> Message-ID:
>>>> 
>><CAJ2rqFZ_WPbLT-gupVmDL27vD28-8cMaizkAUi5+kG9qcaB0-w at mail.gmail.com>
>>>> Content-Type: text/plain; charset="utf-8"
>>>>
>>>> Il giorno ven 10 gen 2020 alle ore 16:20 Gianluigi
>><bagonergi at gmail.com> ha
>>>> scritto:
>>>>
>>>>
>>>>>  In .local/share/gambas3/gianluigi of your home folder.
>>>>
>>>>
>>>>
>>>> Edit: .local/share/gambas3/src/gianluigi
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL:
>><https://lists.gambas-basic.org/pipermail/user/attachments/20200110/b0e863dc/attachment-0001.html>
>>>>
>>>> ------------------------------
>>>>
>>>>
>>>> Message: 2
>>>> Date: Fri, 10 Jan 2020 12:38:17 -0400
>>>> From: PICCORO McKAY Lenz <mckaygerhard at gmail.com>
>>>> To: Gambas Mailing List <user at lists.gambas-basic.org>
>>>> Subject: [Gambas-user] exec also working as shell why?
>>>> Message-ID:
>>>> 
>><CALci+FSXABk5QHjcD8q+wGMQ1cxN+qX4AJOLn1pW=WB9-7-Gtg at mail.gmail.com>
>>>> Content-Type: text/plain; charset="utf-8"
>>>>
>>>> i have a code where i want to pass content to main.. but i never
>>raised the
>>>> content:
>>>> cadena only are filled with content after main raises end, why ..
>if
>>i not
>>>> use shell?
>>>> i attached the project
>>>>
>>>> i have a class and a module main, class are:
>>>>
>>>> Public cadena As String = "ver"
>>>> Public linea As Collection
>>>> Private lineas As String[]
>>>>
>>>> Public Sub Main()
>>>> Exec ["cat", "/etc/courier/authdaemonrc"] For Read As "Processo"
>>>> End
>>>>
>>>>
>>>> Public Sub Processo_Read()
>>>> Dim sLine As String
>>>>  Dim llavevalor As String[]
>>>>   Dim a As Integer
>>>>   sLine = Read #Last, -256
>>>>   cadena = cadena & sLine
>>>>   lineas = Split(sLine, gb.NewLine, "", True)
>>>>   For a = 0 To lineas.max
>>>>       If RInStr(lineas[a], "=") > 0 And RInStr(lineas[a], "#") < 1
>>Then
>>>>         llavevalor = Split(lineas[a], "=", "\"", False, False)
>>>>         linea.Add(llavevalor[1], llavevalor[0])
>>>>       Endif
>>>>   Next
>>>> End
>>>>
>>>>
>>>> SO in my Main modulo i have:
>>>>
>>>> Public Sub Main()
>>>> Dim ver As New CourierConfigDetector
>>>> ver.Main
>>>> Print ver.cadena
>>>> End
>>>>
>>>> cadena only are filled with content after main raises end, why ..
>if
>>i not
>>>> use shell?
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL:
>><https://lists.gambas-basic.org/pipermail/user/attachments/20200110/5217dfeb/attachment-0001.html>
>>>> -------------- next part --------------
>>>> A non-text attachment was scrubbed...
>>>> Name: courierauthtest-0.0.1.tar.gz
>>>> Type: application/gzip
>>>> Size: 11777 bytes
>>>> Desc: not available
>>>> URL:
>><https://lists.gambas-basic.org/pipermail/user/attachments/20200110/5217dfeb/attachment-0001.gz>
>>>>
>>>> ------------------------------
>>>>
>>>>
>>>> Message: 3
>>>> Date: Fri, 10 Jan 2020 19:59:07 +0200
>>>> From: Jussi Lahtinen <jussi.lahtinen at gmail.com>
>>>> To: Gambas Mailing List <user at lists.gambas-basic.org>
>>>> Cc: Beno?t Minisini <g4mba5 at gmail.com>, Steve G
>>>>  <simonlebon54 at yahoo.com>
>>>> Subject: Re: [Gambas-user] New update has screwed everything up.
>>>> Message-ID:
>>>> 
>><CAFJMe7S0pqUAyzNz_b1U53D0fkHHvHZEKiQ5ZM9K3ZpkgTpQ-Q at mail.gmail.com>
>>>> Content-Type: text/plain; charset="utf-8"
>>>>
>>>> There are no global variables in Gambas. Do you mean public
>>variables? Can
>>>> you give example code of what has changed?
>>>> I don't see any changes in font sizes on Linux Mint.
>>>>
>>>>
>>>> Jussi
>>>>
>>>> On Fri, Jan 10, 2020 at 4:11 AM Steve G via User <
>>>> user at lists.gambas-basic.org> wrote:
>>>>
>>>>  I don't have the version available right now but I will get that
>>for you.
>>>>>  The global variables the way they were being declared became read
>>only so
>>>>>  they had to be declared differently. As far as the print I have
>>multiple
>>>>>  problems with that. Font sizes have changed their either
>miniscule
>>or huge.
>>>>>  I am currently going through every single program that prints and
>>adjusting
>>>>>  the font size is down two to four points each. I also
>occasionally
>>get
>>>>>  blank prints. I do not recall what version I was using but I did
>a
>>update
>>>>>  for all software and this is when all these problems kicked in. I
>>also
>>>>>  recall seeing something about other people having problems with
>>various
>>>>>  aspects of the new updates. I'm very upset about this because it
>>looks like
>>>>>  nobody bothered testing it. Even though I know that could not be
>>the case.
>>>>>  Bottom line I'm having massive problems in print. Problems that
>>were not
>>>>>  there until after the update. Perhaps you thought you were
>>cleaning
>>>>>  something up not thinking that people might be using it that way.
>>>>>
>>>>>  Sent from TypeApp <http://www.typeapp.com/r?b=15723>
>>>>>  On Jan 9, 2020, at 16:46, "Beno?t Minisini" <g4mba5 at gmail.com>
>>wrote:
>>>>>
>>>>>>
>>>>>>  Le 10/01/2020 ? 02:33, Steve G via User a ?crit :
>>>>>>
>>>>>>   Using Fedora 30 and 31. Whatever the new runtime update is that
>>came in,
>>>>>>>   it changed how Global variables are declared which is caused
>me
>>a lot of
>>>>>>>   grief. It is also changed printing Styles. Seems as though the
>>font size
>>>>>>>   is no longer accepted. So my printing of things like receipts
>>for
>>>>>>>   people, is horribly screwed up. Is there an easy fix to this
>so
>>that it
>>>>>>>   works like it did before? Or am I going to have to spend
>months
>>>>>>>   rewriting print so that it works right again?
>>>>>>
>>>>>>
>>>>>>
>>>>>>  Which version of Gambas do you have?
>>>>>>
>>>>>>  Which version did you use before?
>>>>>>
>>>>>>  What are you talking about?
>>>>>>
>>>>>>  There is no change in "how Global variables are declared". No
>>idea what
>>>>>>  you mean.
>>>>>>
>>>>>>  Same thing for "the font size is no longer accepted". What does
>>it mean?
>>>>>
>>>>>
>>>>>
>>>>>  ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>>
>>>>
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL:
>><https://lists.gambas-basic.org/pipermail/user/attachments/20200110/708baa1d/attachment.html>
>>>>
>>>> ------------------------------
>>>>
>>>>
>>>> Subject: Digest Footer
>>>>
>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>]----
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>>
>>>> End of User Digest, Vol 28, Issue 20
>>>> ************************************
>>>>
>>>>
>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><https://lists.gambas-basic.org/pipermail/user/attachments/20200110/8c4fb8ff/attachment.html>
>
>------------------------------
>
>Subject: Digest Footer
>
>----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>]----
>
>
>------------------------------
>
>End of User Digest, Vol 28, Issue 23
>************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200110/9d9b577d/attachment-0001.html>


More information about the User mailing list