VCHR$ function

Purpose: VCHR$ returns a string which contains the character[s] corresponding to the integer ASCodeX parameter[s] which must have a value between 0 and 255. VCHR$ is a functional variant of CHR$. VCHR$ does not have the 10 character limitation of CHR$.


 Syntax:

 RetStr$ = VCHR$(NumParam%, ASCode1, [ASCode2, ... ASCode10])

 Parameters:

  • NumParam% is the number of ASCII code integers in the parameter expression list.
  • ASCodeX is an ASCII code integer or, optionally, comma separated ASCII code integers.

 Return Value:

  • RetStr$, the return value, is a string which contains the character[s] corresponding to the ASCII code integer parameter[s].

Example:


 DIM RetStr$
 
 RetStr$ = VCHR$(14,34,37,73,58,37,77,58,37,72,58,32,37,112,34)

 PRINT RetStr$
 

Result:

%I:%M:%S %p