[4.30-B3x86] ReplaceString() doesn't work?

Mac OSX specific forum
WilliamL
Addict
Addict
Posts: 1255
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

[4.30-B3x86] ReplaceString() doesn't work?

Post by WilliamL »

Works fine in PPC but doesn't seem to work in x86.

a$="This is Art"
ReplaceString(a$, " is", " was") ; Will display "This is Art"
MessageRequester(a$,"")

Am I doing something wrong?
MacBook Pro-M1 (2021), Tahoe 26.1, PB 6.30b2
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

Code: Select all

a$="This is Art"
a$ = ReplaceString(a$, " is", " was") ; Will display "This is Art"
MessageRequester(a$,"") 
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
WilliamL
Addict
Addict
Posts: 1255
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Post by WilliamL »

Yup, let's say that the Debug in the original example threw me off 8)

I've been sitting at the computer too long...

Thanks
MacBook Pro-M1 (2021), Tahoe 26.1, PB 6.30b2
Post Reply