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