Coercing String to Constant
Coercing String to Constant
- Subject: Coercing String to Constant
- From: Ehsan Saffari <email@hidden>
- Date: Tue, 17 Apr 2001 23:32:29 -0600
Hi
In an application various constants are defined like Hava, Zamin, etc.
When scripting the app via an applet, these keywords are read as strings
like "Hava", "Zamin", from a text file.
Is there any method to coerce these strings to constants on the fly,
without looking up their definitions in adavance in the app aete resource?
(like <<constannt wxyz>>)
cheers
ehsan