Category : Files from Magazines
Archive   : AIOCT86.ZIP
Filename : AIAPP5.FIG

 
Output of file : AIAPP5.FIG contained in archive : AIOCT86.ZIP

STEP 1
|----------|
alloc_str ----> ü constant ü
|----------|
| c |
|----------|

alloc_str(constant,'c')

STEP 2

|----------|
ü cons ü tail_ptr
|----------| 
cons ---------> | ---------> NIL
|----------|
| |
|----------|
| head_ptr

|----------|
ü constant ü
|----------|
| c |
|----------|

cons(alloc_str(constant,'c'),NIL)


STEP 3 


|----------| |----------| |----------|
ü cons ü ü cons ü ü cons ü
|----------| |----------| |----------|
list ---------> | --------->| --------->| ------> NIL
|----------| |----------| |----------|
| | | | | |
|----|-----| |----|-----| |----|-----|
| | |
V V V 
|----------| |----------| |----------|
ü constant ü ü constant ü ü constant ü
|----------| |----------| |----------|
| a | | b | | c |
|----------| |----------| |----------|


list := cons(alloc_str(constant,'a'),cons(alloc_str(constant,'b'),
cons(alloc_str(constant,'c'),NIL)))

Figure 5 - Constructing the list ('a','b','c') .


  3 Responses to “Category : Files from Magazines
Archive   : AIOCT86.ZIP
Filename : AIAPP5.FIG

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/