|
Voir le sujet précédent :: Voir le sujet suivant |
Auteur |
Message |
Madroms Administrateur
Inscrit le: 12 Déc 2004 Messages: 1869
|
|
Revenir en haut |
|
|
Asta
Inscrit le: 14 Avr 2006 Messages: 732
|
Posté le: Mer Juin 27, 2007 4:53 pm Sujet du message: |
|
|
Je ne sais pas si ça va t'aider...
Lien ici
Il me semble que le VB est différent, mais bon je post quand même au cas où... |
|
Revenir en haut |
|
|
Madroms Administrateur
Inscrit le: 12 Déc 2004 Messages: 1869
|
|
Revenir en haut |
|
|
Asta
Inscrit le: 14 Avr 2006 Messages: 732
|
Posté le: Mer Juin 27, 2007 5:08 pm Sujet du message: |
|
|
De rien, mais je suis septique aussi sur le VB car c'est du language made in kro$oft (fonctions type)... |
|
Revenir en haut |
|
|
Dioxaz
Inscrit le: 29 Avr 2003 Messages: 346
|
Posté le: Mer Juin 27, 2007 7:45 pm Sujet du message: |
|
|
Je recopie l'aide de QBASIC :
Code: | E/S sur fichier CLOSE, EOF, FILEATTR, FREEFILE
GET (File I/O), INPUT, INPUT$,
LINE INPUT, LOC, LOCK, LOF, OPEN,
PUT, SEEK (fonction),
SEEK (instruction), UNLOCK, WRITE |
Comme je doute qu'il existe des commandes de copie directe en BASIC en général, ça veut dire qu'il faudra que tu te débrouilles avec les instructions OPEN, GET, PUT, CLOSE et compagnie. Si tu es familier avec ces instructions alors il n'y aura pas de problème. _________________ FM Synthesis rocks. |
|
Revenir en haut |
|
|
Apocalypse
Inscrit le: 22 Juin 2006 Messages: 1303 Localisation: Grenoble
|
Posté le: Mer Juin 27, 2007 8:07 pm Sujet du message: |
|
|
Dioxaz a écrit: | Je recopie l'aide de QBASIC :
Code: | E/S sur fichier CLOSE, EOF, FILEATTR, FREEFILE
GET (File I/O), INPUT, INPUT$,
LINE INPUT, LOC, LOCK, LOF, OPEN,
PUT, SEEK (fonction),
SEEK (instruction), UNLOCK, WRITE |
Comme je doute qu'il existe des commandes de copie directe en BASIC en général, ça veut dire qu'il faudra que tu te débrouilles avec les instructions OPEN, GET, PUT, CLOSE et compagnie. Si tu es familier avec ces instructions alors il n'y aura pas de problème. |
Yep mais la copie par Open, Get Put est super longue !
Malheureuseument je confirme qu'en QBasic il n'y a pas d'alternative.
L'utilisation d'un fichier BAT pose problème ?
Sinon il faut créer un autre exe qui fait le boulot et que tu appelles par une commande RUN (SHELL sous VB). _________________ http://arcadefixer.blogspot.co.nz/ |
|
Revenir en haut |
|
|
vbt
Inscrit le: 28 Déc 2004 Messages: 370
|
Posté le: Mer Juin 27, 2007 8:54 pm Sujet du message: |
|
|
voila ce que j'ai trouvé en commandes sur les fichiers pour le game basic :
- File instruction
98 BLOADCLEAR - where the file is written to contents of the user area which is guaranteed in instruction
99 BSAVECLEAR - where it starts writing the contents of the user area which is guaranteed in instruction to the file
100 CLOSE - End of file access
100 FILES - Retrieving the file, where it displays the file name which exists
101 FORMAT - where the device which is specified is initialized
102 FREAD - where from file area the data is written to character variable
102 FWRITE - where the data is written to file area
103 GLOAD - where it loads to the logical BG which specifies the bit map data which is specified
************
106 BG - the file name which specifies the bitmap data of the logical BG which is specified
106 GSAVE - where it writes out as the data
************
108 KILL - where the file which is specified is deleted
108 LOAD - You read the program list and are dense
110 OPEN - where it prepares in order to read and write the data vis-a-vis the file
111 SAVE - where the program list is retained
112 SEEK - where reading and writing position of the file is specified
113 DSKF - where empty capacity of the device which is specified is returned
114 FILES$ - where it returns the character string of the file name which agrees retrieving the file
115 LOC - reading and writing position acquisition of the file which is been open
115 LOF - where the terminal of reading and writing position of the file which is been open is returned |
|
Revenir en haut |
|
|
Madroms Administrateur
Inscrit le: 12 Déc 2004 Messages: 1869
|
|
Revenir en haut |
|
|
|
|
Vous ne pouvez pas poster de nouveaux sujets dans ce forum Vous ne pouvez pas répondre aux sujets dans ce forum Vous ne pouvez pas éditer vos messages dans ce forum Vous ne pouvez pas supprimer vos messages dans ce forum Vous ne pouvez pas voter dans les sondages de ce forum
|
|