SDL-News: Using the content of a string as a literal


Subject: SDL-News: Using the content of a string as a literal
From: Margarita de Cabo Pérez (marcab#yllera.tel.uva.es)
Date: Wed Aug 13 2003 - 23:27:50 GMT


Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From =?ISO-8859-1?Q?Margarita_de_Cabo_P=E9rez?= <marcab#yllera.tel.uva.es> to sdlnews -----

Hi,

I want to use the content of a charstring as a literal, I mean, I have a
charstring containing the name of a literal, and I want the value of that
literal. I am trying to do the following:

dcl cadena charstring:="fieldOne";
synonym fieldOne charstring:="XYZ";

I need to obtain "XYZ" using variable cadena.

 Can anybody help?

Marga
--End text from =?ISO-8859-1?Q?Margarita_de_Cabo_P=E9rez?= <marcab#yllera.tel.uva.es> to sdlnews ---
For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>



This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT