About the 7.3 beta pff object

Other discussions about CSPro
Post Reply
htuser
Posts: 426
Joined: December 19th, 2011, 6:26 pm
Location: HAITI

About the 7.3 beta pff object

Post by htuser » August 5th, 2019, 6:40 pm

Dear CSPro Developer Team,
In the Readme txt file for the latest 7.3 Beta (August, 2) i see:
pff functions: exec, getproperty, load, save, setproperty
Also in some 7.3 updated applications for example this:
function lancerQuestionnaireMenage()
   
pff pffMenage;
    pffMenage.load(
pathname(Application) + "../Menage/Popstan2020.pff");
    pffMenage.setproperty(
"key", CHOISIR_MENAGE);
    pffMenage.setproperty(
"operatorid", maketext("%d", LOGIN));
   
if loadcase(NUMEROTATIONMENAGES_DICT, CHOISIR_MENAGE) then
       
pffMenage.setproperty("milieu", maketext("%d", NU_MILIEU_RESIDENCE));
   
else
        errmsg
("Le cas %s pas trouve dans le fichier de numerotation",
            CHOISIR_MENAGE);
   
endif;

    pffMenage.exec();
end;
So, i would like to know:
1.- What's property we can set or get in a pff object?
2.- Can we override an existing pff property?

Thanks in advance for your help and support!

josh
Posts: 1986
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: About the 7.3 beta pff object

Post by josh » August 6th, 2019, 1:53 pm

This will all be documented in the next beta release.

htuser
Posts: 426
Joined: December 19th, 2011, 6:26 pm
Location: HAITI

Re: About the 7.3 beta pff object

Post by htuser » August 6th, 2019, 6:55 pm

Thank you Josh. I'm able to understand pff object function such as :
load, save, exec
and i would like to test the 7.3 new feature in a real world 2 pages (8.5*11 MS Word format) questionnaire.
Among other, pff object interest me greatly since it will allow to write few pff files in menu to launch multiples applications.
So, if i can have some basic explanation, that's can help me.

In any event, i'm waiting for global documentation.

Best Regards,

Post Reply