[04 Feb 2010] Tables, Dim and so on....

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Tarzin
Posts: 112
Joined: Mon Feb 15, 2010 11:46 am
Location: Dunkerque / FRANCE
Contact:

[04 Feb 2010] Tables, Dim and so on....

Post by Tarzin »

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

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;
Datas are separated with ";" Full ASCII file contains 1824 lines

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
I can create many tables with Dim/Dimstr commands

Code: Select all

Dimstr Game[1000]
Dimstr Publisher[1000]
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
A500 / A600 / A1200 / SAM440
WinUAE OS3.9 (AmiKit) / OS4.1FE (FlowerPot)
---
https://twitter.com/TarzinCDK
PEB
Posts: 569
Joined: Sun Feb 21, 2010 1:28 am

[04 Feb 2010] Re: Tables, Dim and so on....

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 4 Feb 2010 12:51:45 -0800 (PST)

Check out the documentation forSplitStr().
Locked