[04 Feb 2010] Tables, Dim and so on....
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 04 Feb 2010 21:40:12 +0100
Hello,
I'm currently trying to read datas from an ASCII file. No problem to open the file but I' don't know how can I read datas and insert them in many tables
This is an example from my file
Datas are separated with ";" Full ASCII file contains 1824 lines
Structure is in fact
I can create many tables with Dim/Dimstr commands
and so on for each argument
But how can I read datas and assign first data to Game, second data to publisher, ect...? I've started ro read documentation for Seek() command but don't understand how to use it in my case.
Any example with dim and table would be appreciated.
Thanks a lot for advance.
Eric
Hello,
I'm currently trying to read datas from an ASCII file. No problem to open the file but I' don't know how can I read datas and insert them in many tables
This is an example from my file
Code: Select all
1869 - History Experience Part I (AGA);Flair;Max Design;Wilfried Reiter,
Albert Lasser & Martin Lasser;Hannes Seifert;Martin Lasser & Wilfried
Reiter;Stratégie-Commerce;1 à 4;1993;AGA;no;no;no;4;Anglais;Flair;no;no;
Structure is in fact
Code: Select all
Game's Name;Publisher;Developer;Coder;Musican;Artist;Type;Players;Config;CPUBlit;IBlit;8Mo;Discs;Langage;Publisher Logo;Youtube;WHD;Code;Year;Exclusion Tag
Code: Select all
Dimstr Game[1000]
Dimstr Publisher[1000]
But how can I read datas and assign first data to Game, second data to publisher, ect...? I've started ro read documentation for Seek() command but don't understand how to use it in my case.
Any example with dim and table would be appreciated.
Thanks a lot for advance.
Eric