|
7 registered members (TipmyPip, Martin_HH, Volkovstudio, AndrewAMD, JMMAC, Grant, 1 invisible),
5,432
guests, and 2
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Using TEXT* as string arrays?
#249900
02/04/09 19:35
02/04/09 19:35
|
Joined: Jul 2005
Posts: 192 Orange County
silencer
OP
Member
|
OP
Member
Joined: Jul 2005
Posts: 192
Orange County
|
Does the following still work in C-Lite? If not, what is the new syntax? TEXT* willkommen
{
...
strings = 5; // 5 differenet string pointes
string = willkommen, dies_ist, ein, text,string1;
}
...
my_text.string[3] = new_string;
AMD 64 x2 4400+
2048mb DDR3200
NVidia 6800GS 256mb
Soundblaster Audigy 2
A7 Commercial 7.07
|
|
|
Re: Using TEXT* as string arrays?
[Re: silencer]
#249915
02/04/09 20:30
02/04/09 20:30
|
Joined: Jul 2005
Posts: 192 Orange County
silencer
OP
Member
|
OP
Member
Joined: Jul 2005
Posts: 192
Orange County
|
What if "new_string" is of type "string*" , will that be a problem since my_text.pstring is of type "string"?
AMD 64 x2 4400+
2048mb DDR3200
NVidia 6800GS 256mb
Soundblaster Audigy 2
A7 Commercial 7.07
|
|
|
|