EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2014
01:56 PM
Bug: String(n, str) on fw3 [fix: documented as feature]
String (n as Integer, str as String) as String does not perform as expected on firmware 3.
Cue the doco example:
Creates platform fragmentation: code using string() will get different results on fw3 and fw5.
Cue the doco example:
BrightScript Debugger> print String(4,"ab") ' prints: abababab
aaaa
Creates platform fragmentation: code using string() will get different results on fw3 and fw5.
3 REPLIES 3
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2014
07:13 PM
Re: Bug: String(n, str) on fw3
Dear Roku* -
would you mind updating docs to mention that on fw3, String(int, str) concatenates N times only the first character of str, not all of str?
Seems unlikely that will be fixed in fw3, so document the "feature"?
would you mind updating docs to mention that on fw3, String(int, str) concatenates N times only the first character of str, not all of str?
Seems unlikely that will be fixed in fw3, so document the "feature"?


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2014
02:12 PM
Re: Bug: String(n, str) on fw3
Done, thanks for the report.
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2014
04:41 PM
Re: Bug: String(n, str) on fw3
