[Gambas-user] BOOLEAN PICTURE PROPERTY

Rizky Tahara Shita rizky.tahara at ...626...
Thu Jun 16 04:36:43 CEST 2005


On 6/16/05, BUDI ARIEF GUSANDI <budi.a.gusandi at ...626...> wrote:
> Rizky Tahara Shita wrote:
> 
> >On 6/15/05, BUDI ARIEF GUSANDI <budi.a.gusandi at ...626...> wrote:
> >
> >
> >>I'm actaully at works too  in my office ;)
> >>Anyway do you have sample code on how read/write using setting ? a
> >>simple one
> >>
> >>
> >
> >do you mean like this one ??
> >i used to save mysql settings connections...
> >
> >
> >PUBLIC fl_sett AS Settings
> >
> >PUBLIC SUB write_config(host AS String, lgn AS String, pass AS String,
> >port AS String)
> >''sub to write config files''
> >  fl_sett["Host"]=host
> >  fl_sett["User"]=lgn
> >  fl_sett["Pass"]=pass
> >  fl_sett["Port"]=port
> >  fl_sett.Save
> >  read_config
> >END
> >
> >PUBLIC SUB read_config()
> >''sub to read config files''
> >  host=fl_sett["Host"]
> >  lgn=fl_sett["User"]
> >  pass=fl_sett["Pass"]
> >  port=fl_sett["Port"]
> >END
> >
> >
> >hope usefull...
> >
> >
> >-------------------------------------------------------
> >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> >from IBM. Find simple to follow Roadmaps, straightforward articles,
> >informative Webcasts and more! Get everything you need to get up to
> >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
> >_______________________________________________
> >Gambas-user mailing list
> >Gambas-user at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> >
> Hey, thanks so much rizky, anyway is it possible if some key is removed
> if i dont use it anylonger ?

what kind of key ?
it just an example of 2 subs that i used.. :D
you can modified them if you wish...




More information about the User mailing list