cunpack Interface

public interface cunpack

Convert a character(len=1), dimensions(:) to character(len=*)

Pack an array into a character of arbitrary length. This convenience function helps converting between arrays of characters and fixed length characters.

As character assignment is not restricted similarly as array assignments it is not a requirement to specify ranges when using this function.


Contents


Module Procedures

private function cunpack_(car) result(c)

Arguments

Type IntentOptional AttributesName
character(len=1), intent(in) :: car(:)

Return Value character(len=size(car))