home *** CD-ROM | disk | FTP | other *** search
- /*
- This genie parses the PPage.ini file for a specific object type
- */
-
- parse arg type, filename
-
- if filename = '' then filename = "s:ppage.ini"
-
- type = upper(type)
-
- if ~open(file, filename, r) then return("")
- rstring = ''
-
- do while ~eof(file)
-
- line = upper(readln(file))
- if word(line, 1) = type then rstring = subword(line, 2)
- end
-
- call close(file)
- return rstring
-
-
-