Author Topic: BCX v7.9.2 is available for download  (Read 213 times)

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1431
    • View Profile
BCX v7.9.2 is available for download
« on: July 24, 2022, 11:41:51 AM »
Hello Friends,

Here is BCX 7.9.2.    Although it is a minor update, I encouraged everyone
to download it, as it contains one bug fix that -might- affect your project.

https://bcxbasiccoders.com/archives/YahooGroups/Bcx_Files_New/Bcx792.zip


REVISIONS

**********************************************************************************************
2022/07/24       Changes in 7.9.2 from 7.9.1
**********************************************************************************************
Ad Rienks      : Reported bug involving the text "SET" being inappropriately translated. Fixed.

Kevin Diggins  : Updated FOR-NEXT and REPEAT-END REPEAT loop-local variable translations. 
                 For example:
                 
                 FOR INT i = 1 TO 10
                    PRINT i
                 NEXT

                 .................................
                 OLD TRANSLATION (unconventional)
                 .................................

                       {int i;
                       for(i=1; i<=10; i+=1)
                         {
                            printf("% d\n",(int)i);
                         }
                         }
                 ................................
                 NEW TRANSLATION (conventional)
                 ................................

                       for(int i=1; i<=10; i++)
                           {
                             printf("% d\n",(int)i);
                           }

             
Kevin Diggins  : Improved type detection when printing additional STRING types.
                 For example, the following failS in BCX 7.9.1 but succeeds in 7.9.2. 

                          CALL SayMyDogsNames

                          SUB SayMyDogsNames
                             DIM AS PSTR MyDogs[] = {"Fido", "Spot", "Lassie"}
                             FOR_EACH(i, MyDogs)
                                PRINT MyDogs
                             NEXT_EACH(i)
                          END SUB


Kevin Diggins  : Ongoing formatting improvements to the source, output and runtime code


« Last Edit: July 24, 2022, 05:15:37 PM by MrBcx »