EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2016
11:07 PM
ifToStr = ?
There is apparently ifToStr interface - shouldn't this be documented?
I was using toStr() for int but now need it for float - checked in docs, nothing. Then i tried and what do you know, it worked. Some research says
So it's there for floats/double at least. Should put a good word.
I was using toStr() for int but now need it for float - checked in docs, nothing. Then i tried and what do you know, it worked. Some research says
BrightScript Debugger> ? findMemberFunction(1.0, "toStr")
<Interface: ifToStr>
BrightScript Debugger> ? findMemberFunction(1d, "toStr")
<Interface: ifToStr>
So it's there for floats/double at least. Should put a good word.
1 REPLY 1

Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2016
03:55 AM
Re: ifToStr = ?
Is that new? I thought I remember having a problem in the past where I forgot a value would be a float instead of an integer, and I got crashes with toStr() (but I could be remember wrong)