File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

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
Jim Yingst

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
It is sorta covered in the JavaRanch Style Guide.
subject: is macro substitution possible in java?
jQuery in Action, 3rd edition