Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Akow, SBGuy), 1,423 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Text string posibilities #419485
03/10/13 19:36
03/10/13 19:36
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
so we know about TEXT and possibility to add many strings to it.
But what bother me is manual said about replacing them.
As i know str_cpy dont to that and i just copy content from one string to other.
So i came to conslusion i should be able to make TEXT with 0 strings and add them as i need, but somehow i just dont know how. If im created one with TEXT itself i can change it with (text.pstring)[string_index]; But then i need to get rid of that one empty string.
Please, if any can provide good way how to make this work.


Arrovs once will publish game
Re: Text string posibilities [Re: Arrovs] #419486
03/10/13 19:52
03/10/13 19:52
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
Why solutions always came after posting?
Found solution after running around engine functions and finding function txt_addstring


Arrovs once will publish game
Re: Text string posibilities [Re: Arrovs] #419492
03/10/13 20:54
03/10/13 20:54
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
And even so it isnt gretest function ever.
Now it copy and add string which i passed to text through txt_addstring.
So now i just did things from other side.
Added Text string pointer to just simple used string pointer.
So now i can copy content straight into string without going through text string array.
Sorry for bothering around, but possible its usefull for someone.


Arrovs once will publish game

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