Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 16,005 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Filling A Structure #371333
05/20/11 04:29
05/20/11 04:29
Joined: Oct 2010
Posts: 15
M
Minoterrae Offline OP
Newbie
Minoterrae  Offline OP
Newbie
M

Joined: Oct 2010
Posts: 15
I have a text file with a list of First Name, Last Name, Race, Sex and Age. I need to put this list into a structure so that I can random display them based on similarities. Can anyone help me do this?

Re: Filling A Structure [Re: Minoterrae] #371383
05/20/11 15:53
05/20/11 15:53
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
You are basically setting up your own file type. What you need to do is to look up how to read files. The easy way to to just use a text file and have everything in a certain order and put a "breaker" between words to go into a field. commas are a good idea but that would mean that a comma could never be in a field.

This isn't hard to set up but you have to do some research first.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1