Skip to content
ezeioDocs
  1. Reference
  2. Script reference
  3. Strings and buffers

strpack

Create a packed copy of a string

Description#

strpack( dest[], const source[], maxlength=sizeof dest )

This function copies a string from source to dest and stores the destination string in packed format. The source string may either be a packed or an unpacked string.

NOTE: This is a rarely needed command for ezeio programming.

Parameters#

dest The buffer for the result
source The string that we will copy. May be packed or not.
maxlenght (optional) The size in cells of the dest buffer

Return value#

Number of characters copied

Example usage#

 

Last updated Sep 2, 2019