This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes is macro substitution possible in java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

is macro substitution possible in java?

vishal avad
Ranch Hand

Joined: Nov 29, 2001
Posts: 45
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
vishal
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
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.


"I'm not back." - Bill Harding, Twister
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: is macro substitution possible in java?
 
It's not a secret anymore!