Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing an array 1 line/column
Message
 
 
À
29/11/2001 14:58:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00587688
Message ID:
00587694
Vues:
21
You can use TRANSFORM() function w/o second parameter
FOR i=1 TO ALEN(laArray1)
  ? i, TRANSFORM(laArray1[i])
ENDFOR
>I know for this application at will have several 1 dimensional arrays of 1 to 20 columns.
>
>I want a record of the array I am creating. How to I get a nicely formated output? For example assume I have a(1) = 2001 , a(2) = 'text' , a(3) = 5. I would to print a page like the following
>
>array a
>
>col value
>1 2001
>2 text
>3 5
>
> etc
>
>If it helps I can put output in cursors, but I still need similar output.
>
>TIA
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform