FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Difference between record and structure
Difference between record and structure
Débuté par Binod Lohani, 06 oct. 2017 09:22 - 2 réponses
Connectez-vous…
Binod Lohani
#1
Posté le 06 octobre 2017 - 09:22
Say I have a data file with three items
Name | Caption | Type | Size textlistID | Identifier of textlist | Automatic ID | 8 TextInEnglish | text | Text | 200 TextInNepali | Nepali | Text | 200
Now I want to load the data in Array
**********************************
For that I could Define Structure and define array
Textlist is structure textlistID is int TextInEnglish is unicode string TextInNepali is unicode string end arrTextlist is associative array of textlist **********************************
Or I could say
ArrrecTextlist is associative array of Record of textlist
***************************
Can I go with Anyone ?? Are they Both same ?? What's the Difference ??
Thanks
Signaler
0
0
Stefan Bentvelsen
#2
Posté le 06 octobre 2017 - 12:17
Hi Binod,
IMO you can use
ArrrecTextlist is associative array of Record of textlist
then it's not needed to define the structure.
Signaler
0
0
Steven Sitas
#3
Posté le 06 octobre 2017 - 13:34
Hi Binod,
what Stefan said or you can do it the way we do it in alpha360.
The following gives you also some "air" to add other things NOT in the data file record.
ST_TextList is Structure
r_ is Record of TextList
// add other things also ...
END
Object_TextListLine is ST_TextList
Array_TextListLine is array of 0 ST_TextList
Steven Sitas
www.alpha360.biz
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte