Make startposition optional in FindString()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Make startposition optional in FindString()

Post by PB »

Oops, I don't know why I thought it would break existing code. I'm going so stupid. Forgive my post.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
Demivec
Addict
Addict
Posts: 4258
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Make startposition optional in FindString()

Post by Demivec »

AND51 wrote:—1


Why all the +1's ... ? I thought you want to omit the ,1 so actually you all should write -1 in this thread, shouldn't you? :P :lol:
Whether you use -1 or +1, both equate to TRUE. :)
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: Make startposition optional in FindString()

Post by freak »

This is one of the more entertaining feature requests i have to tell you :)

(Especially considering it has already been implemented. But don't tell anyone! :P)
quidquid Latine dictum sit altum videtur
User avatar
Demivec
Addict
Addict
Posts: 4258
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Make startposition optional in FindString()

Post by Demivec »

freak wrote:This is one of the more entertaining feature requests i have to tell you :)

(Especially considering it has already been implemented. But don't tell anyone! :P)
Glad to hear it. :)
User avatar
skywalk
Addict
Addict
Posts: 4210
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Make startposition optional in FindString()

Post by skywalk »

Demivec wrote:Whether you use -1 or +1, both equate to TRUE.
And don't forget "0" :lol:
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Re: Make startposition optional in FindString()

Post by AND51 »

So true, skwalk... :D
PB 4.30

Code: Select all

onErrorGoto(?Fred)
Post Reply