Page 1 of 1

splitstr example mistake?

Posted: Tue Jan 22, 2019 10:56 am
by Bugala
Not an actual bug, but thought for a while there was a bug in this example code of SplitStr as it didnt seem to work:

Code: Select all

array, c = SplitStr("AmigaOS3|MorphOS|AmigaOS4|WarpOS|AROS", "|")
For k = 1 To c Do NPrint(array[k - 1])
Until I realised you have used NPrint instead of Debugprint. a Mistake?

Re: splitstr example mistake?

Posted: Wed Jan 23, 2019 5:30 pm
by airsoftsoftwair
No, the examples often use NPrint() and Print() instead of DebugPrint(), so that's fine.