home *** CD-ROM | disk | FTP | other *** search
-
- FUNCTION alloc_str(typ : node_type ; s : string80) : node_ptr ;
- VAR
- pt : node_ptr ;
- BEGIN
- get_memory(pt) ;
- pt^.tag := typ ;
- pt^.string_data := s ;
- alloc_str := pt ;
- END ; (* alloc_str *)
-
-
- Figure 3 - Low level allocation routine for strings.