VA FileMan V. 22.0 Getting Started HTML Manual Banner


 

Main Chapter Getting Started Manual Programmer Manual

VA FileMan Functions


DUP

Format: DUP(string,n)
Parameters:

string is any string of characters or an expression yielding a string of characters.

n is a positive integer or a numeric expression.

Use: This function returns a string of characters n characters long. If string is less than n characters long, the characters in string will be repeated until the output string is n characters in length.
Example:

DUP(DIAGNOSIS,3)=> Ang [value of DIAGNOSIS=Angina Pectoris]

DUP("_",IOM)=> _____________________ [line drawn will have a length equal to the value of IOM]

 


Reviewed/Updated: March 4, 2007