The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 INI Utility Object
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Jeroen Spitael

USA
4 Posts

Posted - 12/03/1998 :  2:36:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000