Whoops, that last message was to Sorwen, I must have typed it while RiverGuy was typing his...Both solutions actually work...So thanks to both of you!!! I appreciate it!
Yeah, I may actually do something similar to your code to kind of initialize the arrays...I wrote a program that allows teachers to graph various functions quickly and easily, now I am rewriting it so that they can display multiple functions at the same time...I want to store the information in...
Thanks Sorwen...The example I posted was not an actual example of what I am trying to do, just a simplified version, but your answer gave me an alternate idea! I appreciate it!!!
Mike
RiverGuy....Thank you...I had previously tried ReDim, but I accidentally applied it to myPolynomials() as opposed the the other array <what a dummy> , the moment I read this reply I realized my error!!!!
Thanks and have an awesome day!!!
I tried that initially and got the following error..."Arrays declared as structure members cannot be declared with an initial size"...
I had done this exact thing before switching to VB.Net...I am using 2008 professional edition...
Any other ideas?
This seems straight forward and simple...I want to create an array as one of the elements inside my structure, but when I go to run the code it gives me an exception...HELP!!!
Public Class Form1
Private Structure Polynomial
Dim degree As Int16
Dim coeffArray() As Double
End Structure
Private...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.