Author Topic: BCX HELP correction needed  (Read 172 times)

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1850
    • View Profile
BCX HELP correction needed
« on: December 25, 2023, 09:34:01 AM »
Hi Robert,

Under BCX and other BASIC dialects:

BCX, instead, uses the FUNCTION or the RETURN keyword as the right side of the return statement as shown below; as this


 FUNCTION Test() As String
  FUNCTION = "OK"
 END FUNCTION

or as this;



 FUNCTION Test() As String
  RETURN = "OK"
 END FUNCTION


should be

 FUNCTION Test() As String
  RETURN  "OK"
 END FUNCTION


Robert

  • Hero Member
  • *****
  • Posts: 1119
    • View Profile
Re: BCX HELP correction needed
« Reply #1 on: December 25, 2023, 03:28:56 PM »
Hi Robert,

Under BCX and other BASIC dialects:

BCX, instead, uses the FUNCTION or the RETURN keyword as the right side of the return statement as shown below; as this


 FUNCTION Test() As String
  FUNCTION = "OK"
 END FUNCTION

or as this;



 FUNCTION Test() As String
  RETURN = "OK"
 END FUNCTION


should be

 FUNCTION Test() As String
  RETURN  "OK"
 END FUNCTION

O.K.

If the release of BCX 8.0.8 is imminent, I will hold off on uploading the new version of the Documentation.

If the release of BCX 8.0.8 is not imminent, I will upload the new version of the Documentation.

Merry Christmas.

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1850
    • View Profile
Re: BCX HELP correction needed
« Reply #2 on: December 25, 2023, 03:56:13 PM »

O.K.

If the release of BCX 8.0.8 is imminent, I will hold off on uploading the new version of the Documentation.

If the release of BCX 8.0.8 is not imminent, I will upload the new version of the Documentation.

Merry Christmas.

I promise, I will upload 8.0.8 before 2024.