flp.doc - .SH Module flp.LP The flp module loads fl-forms...

This preview shows page 1 - 2 out of 2 pages.

.SH Module flp .LP The flp module loads fl-forms from fd files, as generated by fdesign. The module is designed to be flexible enough to allow almost anything to be done with the loaded form. .LP Loadform defines two types of functions: functions to parse fd files and functions to create the forms from the templates returned by the parse functions. There are fairly low-level create functions that create single objects, and convenience routines that create complete forms, including callbacks, etc. .LP The exception flp.error is raised whenever an error occurs while parsing a forms definition file or creating a form. .SH 2 Parsing functions .LP There are two parsing functions, parse_form() and parse_forms(). They take the following form: .LP .ft C ftuple = parse_form(filename, formname) .br ftdict = parse_forms(filename) .IP Parse_form parses a single form, and returns a tuple (ftmp, otmplist). Ftmp is a template for a form, otmplist is a list of templates for objects. See below for a description of these templates.
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Spring '19
  • Engr.EdgarGalido
  • Subroutine, Function object, flp module loads fl-forms

{[ snackBarMessage ]}

Get FREE access by uploading your study materials

Upload your study materials now and get free access to over 25 million documents.

Upload now for FREE access Or pay now for instant access
Christopher Reinemann
"Before using Course Hero my grade was at 78%. By the end of the semester my grade was at 90%. I could not have done it without all the class material I found."
— Christopher R., University of Rhode Island '15, Course Hero Intern

Ask a question for free

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern