This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20
REPEAT

REPEAT  


 

 

Command REPEAT

REPEAT (arithmetic_expression, arithmetic_expression)

The REPEAT function returns the first arithmetic_expression repeated the requested number of times (passed in second arithmetic_expression).

Example  

This example illustrates how it works:

SELECT REPEAT( 'repeat', 3 )
` returns 'repeatrepeatrepeat'

 
PROPERTIES 

Product: 4D
Theme: Functions

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D SQL Reference ( 4D v20)