Author Topic: Another use for ChatGPT for BCX users  (Read 410 times)

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1966
    • View Profile
Another use for ChatGPT for BCX users
« on: August 06, 2023, 10:28:08 AM »
Traditionally, various dialects of BASIC used parenthesis a.k.a., "round brackets" to set-off
both function arguments and arrays. 

BCX requires using "square brackets" to identify array elements.  It is usually a tedious chore
to convert non-BCX code that contains both parenthesis ( ) -and- square brackets [ ].

ChatGPT to the rescue!


I simply told ChatGPT, "change arrays to square brackets:", followed by the code. 

This was done using the free-to-use CHATGPT 3.5 here:  https://chat.openai.com/
« Last Edit: August 06, 2023, 10:42:46 AM by MrBcx »

jbk

  • Full Member
  • ***
  • Posts: 197
    • View Profile
Re: Another use for ChatGPT for BCX users
« Reply #1 on: August 06, 2023, 12:00:25 PM »
I sympathize, I wonder if there's a utility that does smart replacements

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1966
    • View Profile
Re: Another use for ChatGPT for BCX users
« Reply #2 on: August 06, 2023, 02:18:44 PM »
I sympathize, I wonder if there's a utility that does smart replacements

Yes ... it's call ChatGPT.   ;)