Make startposition optional in FindString()
Re: Make startposition optional in FindString()
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.
"PureBasic won't be object oriented, period" - Fred.
Re: Make startposition optional in FindString()
Whether you use -1 or +1, both equate to TRUE.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?![]()

Re: Make startposition optional in FindString()
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!
)

(Especially considering it has already been implemented. But don't tell anyone!

quidquid Latine dictum sit altum videtur
Re: Make startposition optional in FindString()
Glad to hear it.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!)

Re: Make startposition optional in FindString()
And don't forget "0"Demivec wrote:Whether you use -1 or +1, both equate to TRUE.

Re: Make startposition optional in FindString()
So true, skwalk...

PB 4.30
Code: Select all
onErrorGoto(?Fred)