Lancer
Member
|
StrF alternative
Hey,
in the source code I found this code
Code:
StrF("xs:%d ys:%d", Csg2D.sec.cells.x, Csg2D.sec.cells.y)
and in the post https://www.esenthel.com/forum/showthrea...light=StrF you said that StrF has been removed.
Is there any alternative I can use?
I have some text like "Item %s cost %d", so StrF would be useful. Right now Im using
but this does not look really clean since it forces me to use Str8 and Char8
|
|
12-04-2020 09:06 PM |
|
Esenthel
Administrator
|
RE: StrF alternative
Str s=S+"item "+name+", cost "+cost;
|
|
12-05-2020 02:24 AM |
|
Lancer
Member
|
RE: StrF alternative
(12-05-2020 02:24 AM)Esenthel Wrote: Str s=S+"item "+name+", cost "+cost;
Yea, but if I have huge quest text, then I need to break it down into many pieces. Thatswhy I was looking for an StrF alternative. But I guess I'll just create a StrF.
Thanks
|
|
12-05-2020 06:06 PM |
|
FKemp
Member
|
RE: StrF alternative
Why was the StrF removed, did it cause bugs/perfomance issues? Working with strings is very important, I can tell you this as a writer for prothesiswriter.com where I provide help to students all around the globe.
(This post was last modified: 01-03-2021 03:23 AM by FKemp.)
|
|
12-24-2020 04:01 AM |
|
Esenthel
Administrator
|
RE: StrF alternative
It's easy to make mistake with it or even crash.
|
|
12-24-2020 04:52 AM |
|