Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 05:41
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AbrahamR, AndrewAMD), 1,278 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
txt_load and the delimiter #132081
05/26/07 12:59
05/26/07 12:59
Joined: Nov 2006
Posts: 141
South Africa
quasarchangel Offline OP
Member
quasarchangel  Offline OP
Member

Joined: Nov 2006
Posts: 141
South Africa
Is there any way to get the txt_load function to ignore a ',' as a delimiter? I would like to use proper punctuation in a text file, but whenever I read it back into a text object or string it stops the sentence at every ',' and puts the rest of the sentence into the next string. Anyone know how to change the delimter maybe or something?


God DID give us a manual on how to change this world...
Re: txt_load and the delimiter [Re: quasarchangel] #132082
05/26/07 13:21
05/26/07 13:21
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
did you tried to overwrite the delimiter string?

str_cpy(delimit_str,"#"); for example

Re: txt_load and the delimiter [Re: HeelX] #132083
05/26/07 13:30
05/26/07 13:30
Joined: Nov 2006
Posts: 141
South Africa
quasarchangel Offline OP
Member
quasarchangel  Offline OP
Member

Joined: Nov 2006
Posts: 141
South Africa
Nope doesn't work. I tried 'delimit_str', 'delimit', 'delimiter_str' and 'delimiter'. Anyone know what the string is called? Do I maybe have to declare it? I am using 6.2, does it work with a newer version of the engine?


God DID give us a manual on how to change this world...
Re: txt_load and the delimiter [Re: quasarchangel] #132084
05/27/07 17:52
05/27/07 17:52
Joined: Nov 2006
Posts: 169
Sachsen-Anhalt, Germany
JackTheRipper Offline
Member
JackTheRipper  Offline
Member

Joined: Nov 2006
Posts: 169
Sachsen-Anhalt, Germany
Hi,

Update your version , than is should working.

Regards Jack.


Cheers
Jack Out!


Bandiera rossa la trionferą
Evviva il socialismo e la libertą.
Re: txt_load and the delimiter [Re: JackTheRipper] #132085
05/27/07 21:06
05/27/07 21:06
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
command like: str_cpy(delimit_str,"|") is working in the A6.314 and up (I'm using it); so may be this is 6.2 issue only...

Re: txt_load and the delimiter [Re: Lion_Ts] #132086
05/27/07 21:36
05/27/07 21:36
Joined: Nov 2006
Posts: 141
South Africa
quasarchangel Offline OP
Member
quasarchangel  Offline OP
Member

Joined: Nov 2006
Posts: 141
South Africa
Thanks, I'll do that.


God DID give us a manual on how to change this world...

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

Gamestudio download | chip programmers | 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