strunpack

Create an unpacked copy of a string

Description

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

This function copies a string from source to dest and stores the destination string in unpacked 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