I'm playing with the MAPM API and running into a 16K limit somewhere. This is OK ...32K bytes. That hasn't changed since plugins were introduced.
v:\> echo %@fact | wc Lines Words Chars 1 1 16384
m_apm_factorial(f, n); CHAR *szResult = (CHAR*) AllocMem(32768); m_apm_to_integer_string(szResult, f); ASCIIToUnicode(szResult, psz, 32767); FreeMem(szResult);