This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

is macro substitution possible in java?

vishal avad
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all
Anybody has any idea how to achieve macro substitution in java.
I ve following code. Which works fine in fox pro

abc = "vishal"
xyz = "abc"
wait wind xyz
*it returns window displaying "abc"
wait wind &xyz
*it returns window displaying "vishal"

same thing is also possible in VB
So please let me know how to access a value inside a variable's value.
please reply asap
thx in adv
Jim Yingst
Posts: 18671
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't post the same question in multiple forums. It's a waste of our time if we compose an answer to something that has already been answered in another forum (but we didn't realize it).
I'd say the beginner-level answer to this is "no", so I'm closing this thread. Follow-up in advanced if you want to pursue alternatives.
    Bookmark Topic Watch Topic
  • New Topic