I am having difficulty figuring out how to write text, put it in a variable and then pass it through a method. I have no problems passing integers or doubles, but when I try to do it with characters I get errors.
int v1 = 2;
int v2 = 3;
String myText = "Label One";
create_Label(v1, v2, myText);
MyText gives me an error. How do I write a method in a way that I can pass a String value to it?
Thank you in advance.
Where is your method create_Label? You must make sure that create_Label has two integers and a string for it's parameters.
Thank you for your help.
IT WORKED! I spent hours on this and I couldn't figure it out!!!
You're very welcome :) Glad you got it all figured out.