[Harbour-users] Ini files Manipulation
Bruno Luciani
bruno.luciani at gmail.com
Fri Feb 5 12:36:30 EST 2010
Massimo this compiles ok
but don't work , nothing appears in screen
I just add this lines but is the same problem
setmode(25,80)
clear
which is missing here ?
Bruno
2010/2/5 Massimo Belgrano <mbelgrano at deltain.it>
> Hi Gilbert.
>
> are present same functions to manage .ini files: HB_INI*
> hb_IniRead()
> hb_IniWrite()
> hb_IniSetComment()
>
>
> PROC MAIN()
> LOCAL cIniFile, hIni, v
>
> cIniFile := "test.ini"
> hIni := HB_IniRead( cIniFile )
> IF Empty( hIni )
> ? "Error: missing or wrong " + cIniFile
> ELSEIF ! "MAIN" $ hIni
> ? "Error: missing MAIN section in " + cIniFile
> ELSE
> FOR EACH v IN hIni[ "MAIN" ]
> ? v:__enumKey(), "=>", v
> NEXT
> ENDIF
> RETURN
>
>
> 2010/2/5 Gilbert Karweru <karweru at yahoo.com>:
> > Has anyone implemented a simpler straightforward program functions for
> use of ini files from within a harbour application? Would be glad of any
> help.
> >
> > Thanks,
> > Gilbert.
> >
> >
> >
> >
> >
> > ________________________________
> > From: Massimo Belgrano <mbelgrano at deltain.it>
> > To: Users of the Harbour compiler <harbour-users at harbour-project.org>
> > Sent: Fri, February 5, 2010 2:23:52 PM
> > Subject: Re: [Harbour-users] Compiling SVN Harbour tips needed
> >
> > Thanks to you also !
> >
> > 2010/2/5 smu johnson <smujohnson at gmail.com>:
> >> Yes I saw that a while ago. I was thinking about going through it and
> >> proofreading it, as there are many mistakes in it, etc.
> >>
> >> Maybe over the weekend I will have some time to do so. Thanks.
> >>
> >
> >
>
> --
> Massimo Belgrano
> _______________________________________________
> Harbour-users mailing list (attachment size limit: 40KB)
> Harbour-users at harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour-users
>
More information about the Harbour-users
mailing list