ArrayStack.PopString Method

Pops a string value from a stack.

void PopString(char[] buffer, int maxlength, int& written)

Parameters

char[] buffer

Buffer to store string.

int maxlength

Maximum size of the buffer.

int& written

Number of characters written to buffer, not including the null terminator.

Errors

The stack is empty.