BCX HELP correction needed

Started by MrBcx, December 25, 2023, 09:34:01 AM

Previous topic - Next topic

MrBcx

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

Quote from: MrBcx 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

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

Quote from: Robert on December 25, 2023, 03:28:56 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.