>I'm having a hard time rewriting this into c#. Arrays in .net are much more difficult than in Foxpro. Can anyone help me get started?
>
>The parameter passed would be something similar to: "XYZ222, SC, 2007, 120 MAIN ST"
> In that example, XYZ222 would be this.vl, SC would be this.vlstate, and 2007 should go into this.vlYear and the rest should go into this.location.
You can turn the string into an array of strings (similar to ALINES) via:
string[] items = nameOfString.Split(",");
this.vl = items[0];
this.vlState = items[1];
...