rice class : Direct call

Description

Gets a named comment using getter call notation.

Syntax

riceInstance.Comment name

Arguments

None.

Return value

ClassDescription
stringComment 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.

Links for reference

Copyright © Rice All rights reserved.