Trevor
02-09-2005, 09:03
Hi,
Something that would be very useful for me is the ability for the users of my PowerBasic application to define a mathematical algorithm at run time, and I wonder if thinBasic has the potential to allow me to do this.
For example, suppose the programme needs repeatedly to calculate the value of parameter X. In my present version of the application, I make several assumptions and go ahead with the calculation, but my assumptions restrict the usefulness of the results. I could create an elaborate interface asking the user to supply values for these assumptions, but this would be very complex and detract from the overall 'feel' I wish to maintain in the programme. Much better would be the ability for the user himself to define the algorithm (in thinBasic?) with all his own assumptions, and run this as a function or subroutine that is called from my code when needed.
The closest analogy I can think of is the running of a VBA macro to supplement the calculations of an Excel spreadsheet.
Will this remain a dream for now, or does thinBasic have the potential to grant my wish?
Something that would be very useful for me is the ability for the users of my PowerBasic application to define a mathematical algorithm at run time, and I wonder if thinBasic has the potential to allow me to do this.
For example, suppose the programme needs repeatedly to calculate the value of parameter X. In my present version of the application, I make several assumptions and go ahead with the calculation, but my assumptions restrict the usefulness of the results. I could create an elaborate interface asking the user to supply values for these assumptions, but this would be very complex and detract from the overall 'feel' I wish to maintain in the programme. Much better would be the ability for the user himself to define the algorithm (in thinBasic?) with all his own assumptions, and run this as a function or subroutine that is called from my code when needed.
The closest analogy I can think of is the running of a VBA macro to supplement the calculations of an Excel spreadsheet.
Will this remain a dream for now, or does thinBasic have the potential to grant my wish?