PDA

View Full Version : Simiple right? - useing Vars in text.


mcdanyel
08-03-2002, 07:28 PM
I know this is a simiple one I am sure, but I couldn't find it searching so...

I have a block of text that I want one of my loaded variables to plug into at the right spot. You know something like, "Hi, (variable = user's name here) welcome back. You have (variable = # of current project open here) projects in progess. Select the one you would like to see more about."

It might not be possible but I am sure it is. I mean I can always just save the entire text block as a variable but what's the fun in that right??? :p

Jesse
08-04-2002, 02:55 AM
userName = "Joe";
frogs = 10;
welcomeString = "Hi " + userName +", how are your " + frogs + " frogs doing?";

mcdanyel
08-04-2002, 03:21 AM
I had just figured it out about an hour ago. Just needed some caffine I guess, ha ha.