Skip to content

ZeroString Function

See Also: External Function, Integer, String Functions

Purpose

Creates a String filled with 0 of specified length. This function can be used to zero fill a string that must be filled to a fixed length before it is passed to a DLL function.

Return Type

String

Syntax

(ZeroString({integerLength}))

What It Does

The ZeroString function returns a String filled to Length integerLength filled with ASCII character zero (0).

Integer iLength
String sParameter
Move (ZeroString(iLength)) to sParameter