Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
an "overloaded subroutine" example
#7
(05-08-2025, 07:55 AM)bplus Wrote: Here I used "overloading" to create primative math evaluator, set variables and run formulas or functions like a*x^2 + b*x + c the quadratic equation.

Evaluating strings to run my tinybasic in a sub routines to work as a scripting engine for a more complicated project is what led me to what I posted. But I needed a simple example with relatively clean code instead of the insane mess that I have in the main project to share with others.
Reply


Messages In This Thread
RE: an "overloaded subroutine" example - by bplus - 05-08-2025, 07:55 AM
RE: an "overloaded subroutine" example - by James D Jarvis - 05-08-2025, 02:06 PM
RE: an "overloaded subroutine" example - by bplus - 05-08-2025, 10:20 AM
RE: an "overloaded subroutine" example - by Jack - 05-08-2025, 03:28 PM



Users browsing this thread: 1 Guest(s)