COMPARESTR gives different results on different platforms

Report any Hollywood bugs here

COMPARESTR gives different results on different platforms

Postby peceha » Tue Jan 16, 2018 12:21 pm

Code: Select all
Print (CompareStr("d","dupa",FALSE))
Wait(200)


Hi,
when run on PC: -1
when run on MorphOS 3.9, PowerMac: 0

Image
peceha
 
Posts: 111
Joined: Tue Dec 13, 2016 9:39 am
Location: Poland

Re: COMPARESTR gives different results on different platform

Postby airsoftsoftwair » Sun Jan 21, 2018 4:58 pm

Confirmed. Will be fixed.
User avatar
airsoftsoftwair
 
Posts: 2346
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: COMPARESTR gives different results on different platform

Postby airsoftsoftwair » Sun Jan 28, 2018 5:32 pm

Code: Select all
- Fix [Amiga/Linux/Android]: CompareStr() always returned 0 in case one of the strings was a
  substring starting at offset 0 in the other string
User avatar
airsoftsoftwair
 
Posts: 2346
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to Hollywood bugs

Who is online

Users browsing this forum: No registered users and 1 guest