Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replicate() function
Message
De
23/08/2001 09:17:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
23/08/2001 09:11:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00547882
Message ID:
00547890
Vues:
14
>I am having trouble using a variable for the length on a replicate statement - passing it from a function to a report. Any clues? If I hard code a length in it executes perfectly.

The following works fine on my machine:
mystring = "abc"
x = 5
? replicate(MyString, x)
Variables are accepted. Perhaps you may want to post the complete expression.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform