ezeio2:scriptref: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

 
  • ezeio2/scriptref/strpack.txt
  • Last modified: 2019-09-02 21:44
  • by andreh