Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set focus to textbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00689308
Message ID:
00691237
Vues:
27
>Hi Wayne,
>How do you create an array in javascript equiv to an array in vfp with the following dimensions?
>
>dimension aText[8,18]

Just remember that arrays are 0-based in JS...
<html>
<head>
<Script language=JavaScript>
la = new Array(16,8)
la[0,0] = "Wow "
la[1,1] = "This Is "
la[1,2] = "Cool"
la[16,8] = " - Real Cool"

</script>
<body>
<script>
document.write(la[0,0] + la[1,1] + la[1,2] + la[16,8])
</script>
</body>
</html>
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform