Function: ACF_GetAllPrototypes

The ACF_GetAllPrototypes function is designed to retrieve the prototype text for all installed package functions. In this context, each parameter in the prototypes includes a type prefix, using FileMaker terminology.

The primary purpose of this function is to streamline the development process and facilitate the creation of internal documentation by providing access to the prototypes of developed functions.

Have the output from this handy when you develop FileMaker scripts, so you can cut and paste into your calculations.

Prototype:

ACF_GetAllPrototypes

Parameters: No parameters

Return value: Type TEXT : The Prototype text

Example of output:

Set Field [ Preferences::Prototypes; ACF_GetAllPrototypes ]

After running the above script, the field "Preferences::Prototypes" will contain the following text, which displays the prototypes for various packages:

=========================================================
Package: bootstrap
Functions to facilitate load and save source and binary files

ACF_run("LoadFile"; text_filename)
   ==> Return type = text

ACF_run("SaveFile"; text_filename; text_content)
   ==> Return type = num

ACF_run("SelectFile"; text_startPath; text_Prompt)
   ==> Return type = text

ACF_run("SelectFolder"; text_Prompt)
   ==> Return type = text

ACF_run("SelectSaveAsFile"; text_prompt; text_defname; text_defdir)
   ==> Return type = text


=========================================================
Package: markdownfunctions
Markdown functions for the doc project

ACF_run("post_processing"; text_htmlfile)
   ==> Return type = text

ACF_run("ConvertMarkdown"; text_sourcefile; text_htmlfile; text_html_root; text_style; text_codestyle)
   ==> Return type = text

ACF_run("createHTML_Filename"; text_file; text_html_path)
   ==> Return type = text

ACF_run("openList")
   ==> Return type = num

ACF_run("readnextline"; num_fileid)
   ==> Return type = text

ACF_run("closeList"; num_fileID)
   ==> Return type = undef


=========================================================

This text provides an overview of the packages and their associated functions, making it easier to understand the available prototypes.