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
 All Forums
 Origin Forum
 Origin Forum
 INI Utility Object

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Jeroen Spitael Posted - 12/03/1998 : 2:36:00 PM
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.


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000