splitstr example mistake?

Report any Hollywood bugs here
Post Reply
Posts: 915
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
Posts: 4196
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany

Re: splitstr example mistake?

Post by airsoftsoftwair »

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

Post Reply