jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2010
12:41 AM
"m." is this a system keyword?
The reference manual very breifly mentions m. as follows:
Is this really true, or is m. no different from any other alphabetic character with a . after it?
The manual could really use a lot more detail about some of these things.
The "this" pointer is "m".
Is this really true, or is m. no different from any other alphabetic character with a . after it?
The manual could really use a lot more detail about some of these things.
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
2 REPLIES 2
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2010
12:59 AM
Re: "m." is this a system keyword?
m is analogous to this. Don't try to use it for any other purpose or you will have problems. It's not exactly a reserved word, but you certainly can't have any variables named 'm' since it's already being used as a variable name.
-JT
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2010
08:40 AM
Re: "m." is this a system keyword?
If in a method of a class/object, m refers to the roAssociativeArray that contains the instantiation. If in a plain function, m refers to the global object. This can be handy if you want a plain function with state.
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!