This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: is macro substitution possible in java?
 
Similar Threads
is macro substitution possible in java?
can class be declared static?
Collection in java
Problem with Ms Word
Hide a print dialog while printing a receipt