|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > JSON - Parser > Parser-Operations > !Document Operations > PSJ. - JSON Operations |
SPR Script Language
PSJ.FreeAll
Frees all active JSON document handles.
Intention
The PSJ.FreeAll command in SPR releases all currently active JSON document handles, cleaning up all associated resources. It’s like telling your robot to throw away all JSON documents it’s holding, freeing up space for new tasks.
For example, if you’ve opened multiple documents, this command ensures they’re all discarded at once.
Illustration
📝 Free All Handles: PSJ.FreeAll releases all active JSON document handles.
Syntax
PSJ.FreeAll
Parameter Explanation
This command takes no parameters.
Examples
'***********************************
' Sample: Free All JSON Documents
PSJ.FreeAll
' Releases all active JSON document handles
MBX.Cleanup Complete
Remarks
- This command does not return a value or indicate success/failure directly; it silently frees all handles.
- After execution, all previously active document handles become invalid.
Limitations
- Affects all active JSON documents; use with caution if some documents need to remain open.
See also:
• PSJ.Free