IsPack()

Syntax

Result = IsPack(#Pack)
Description
Tests if the given pack number is a valid and correctly initialized pack.

Parameters

#Pack The pack to test.

Return value

Returns nonzero if #Pack is a valid pack and zero if not.

Remarks

This function is bulletproof and can be used with any value. This is the correct way to ensure an pack is ready to use.

See Also

CreatePack(), OpenPack()

Supported OS

All

<- ExaminePack() - Packer Index - NextPackEntry() ->