• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Coercing String to Constant
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: getting a URL from IE
  • Next by Date: Re: Random number generator without duplicates?
  • Previous by thread: troubleshooting OSA menu scripts
  • Next by thread: Coerce String to Handler? - SOLVED!!!
  • Index(es):
    • Date
    • Thread