Author Topic: Basic Interpreter  (Read 886 times)

crcasey

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Basic Interpreter
« Reply #15 on: November 15, 2016, 09:53:46 PM »
Do you have to use AppendArrays to combine arrays or can use the + as a concatenation operator?  Can it be overloaded?

-Cecil

Vectrex32

  • Administrator
  • Full Member
  • *****
  • Posts: 104
    • View Profile
Re: Basic Interpreter
« Reply #16 on: November 15, 2016, 09:59:15 PM »
You use AppendArrays to concatenate arrays. Operators can't be overloaded: this is BASIC not C++. Besides, if you overloaded + for an array, would it be concatenation or matrix addition?

- Bob