[FIXED] Bug with string result

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

User avatar
mk-soft
Always Here
Always Here
Posts: 5406
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

[FIXED] Bug with string result

Post by mk-soft »

Bug:
String result crashed with added string

Code: Select all

for i = 1 to 10
temp.s + AnyStringFunction()
next
Result only last String

Bug at Tailbite or PB4.20

:cry:

P.S. Example

Code: Select all

ProcedureDLL.s MyString(ch.s , count)
  Protected result.s, i.l
  For i = 1 To Count
    result + ch
  Next
  ProcedureReturn result
EndProcedure

Debug MyString("a", 10) + MyString("b", 10)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

I may look like a mule, but I'm not a complete ass.
Post Reply