splitstr example mistake?

Report any Hollywood bugs here
Post Reply
Bugala
Posts: 1178
Joined: Sun Feb 14, 2010 7:11 pm

splitstr example mistake?

Post 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?
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: splitstr example mistake?

Post by airsoftsoftwair »

No, the examples often use NPrint() and Print() instead of DebugPrint(), so that's fine.
Post Reply