I'm writing a long-term use labtalk script that I want to make as extensible as possible. i.e. I don't want to hardcode every piece of information (such as equations) into my script as well is in my fdf files. To accomplish this, I would like to read my equations from my .fdf file using the INI object. I can get it to read and write numeric values and write string values, but I can't get it to read string values. I might be doing something wrong.The code I'm trying to use is as follows:
ini.get.filename$="origin.ini";
type -a $(ini.config.showstate); /* works */
ini.config.showstate=5; /* works */
ini.config.title1=Full Menus; /* works */
type -a $(ini.config.title1); /* doesn't work */
type -a $(ini.config.title1$); /* doesn't work */
%z=$(ini.config.title1);
type %z; /* doesn't work */
%z=$(ini.config.title1$);
type %z; /* doesn't work */
I'm beginning to wonder if this is maybe a bug? Any help would be appreciated.