![]() |
Examples 8.11.3.3: |
![]() |
The sole creation feature of the required library class NAME is used in the simple example below which is not intended to be the text of a 'complete' method.
This feature returns a name in which all of the detail components (which are effectively attributes) are void, thus -
chairman : NAME := NAME::create ; chairman.family_name := file_buff_cursor.get_word ; file_buff_cursor.skip_space ; chairman.first_name := file_buff_cursor.get_word ; file_buff_cursor.skip_space ; ...
in which it is assumed for the purposes of illustration that file_buff_cursor is of type STR_CURSOR and is positioned at the point where the next name is that of the chairman!
![]() |
Specification Index | ![]() |
Language Index | ![]() |
Section 8 Index |
Comments
or enquiries should be made to Keith Hopper. Page last modified: Friday, 23 March 2001. |
![]() |