-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
92 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
**Description** | ||
|
||
Removes the array from memory. | ||
Removes *array* from memory. | ||
|
||
**Parameters** | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## BE_JSON_ArraySize | ||
|
||
BE_JSON_ArraySize ( json { ; path } ) | ||
|
||
**Description** | ||
|
||
Will return the number of values in a JSON array. | ||
|
||
**Parameters** | ||
|
||
* *json* : the array to count. | ||
* *name* ( optional ) : the path within the JSON to locate the array to count. | ||
|
||
**Keywords** | ||
|
||
JSON Array Size | ||
|
||
**Version History** | ||
|
||
* 2.1.0 : First Release | ||
* 4.1.0 : Added the optional path parameter | ||
|
||
**Notes** | ||
|
||
If *path* is not included, it counts the array at the root of the JSON, and will return 1 for a non array type. | ||
|
||
If *path* is included, the format is as per the *BE_JSONPath* function, which is NOT the same as the internal FileMaker JSON functions introduced in version 16. | ||
|
||
**Compatibility** | ||
|
||
| Platform | Compatibility | | ||
|-----------|-----------| | ||
| Status | Active | | ||
| Mac FMP | Yes | | ||
| Win FMP | Yes | | ||
| FMS | Yes | | ||
| iOS | Yes | | ||
| Linux | Yes | | ||
|
||
**Example Code** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## BE_XMLStripInvalidCharacters | ||
|
||
BE_XMLStripInvalidCharacters ( path ; { resultFilePath } ) | ||
|
||
**Description** | ||
|
||
This function removes characters considered invalid in XML from the file at *path*, and optionally writes the fixed file to the *resultFilePath*. | ||
|
||
**Parameters** | ||
|
||
* *path* : The path to the text XML file to read. | ||
* *resultFilePath* ( optional, default:path ) : If supplied, this will write the output to a new file. If not supplied then the original file will be overwritten. | ||
|
||
**Keywords** | ||
|
||
XML Strip Invalid Characters | ||
|
||
**Version History** | ||
|
||
* 4.2.0 : First Release | ||
|
||
**Notes** | ||
|
||
Used originally internal as a BaseElements developer tool function, likely not useful for anyone else. | ||
|
||
**Compatibility** | ||
|
||
| Platform | Compatibility | | ||
|-----------|-----------| | ||
| Status | Active | | ||
| Mac FMP | Yes | | ||
| Win FMP | Yes | | ||
| FMS | Yes | | ||
| iOS | Yes | | ||
| Linux | Yes | | ||
|
||
**Example Code** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters