Re: Complicated but interesting.....Need some thoughts
Megahertz,
I'm not sure I fully understand what you are trying to do, but there is a trick to store a 3-dimensional funtion in arrays. In other words, having an array with two variables in PBP. For example, taking data from your table,
Code:
Radius var byte
Extension var byte
Weight var byte[100]
Radius = 2
Extension = 5
Weight[(10 * Radius) + Extension] = 11 'Assuming Extension < 10
To make it work with decimals you might need to multiply those numbers by 10. Again, I'm not sure if what you want to do is something like this.
Robert
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks