rice class : Direct call
Description
Gets a named comment using getter call notation.
Syntax
riceInstance.Comment name
Arguments
None.
Return value
Class | Description |
string | Comment body. |
Sample code
1: | /**Sample**concat**----------------------- |
2: | This is a |
3: | sample. |
4: | -----------------------------------------------*/ |
5: | rice rr; |
6: | string body = rr.Sample; // body is "This is a sample.". |
Notes
None.