To test whether zidovudine (AZT) is useful as a treatment for the neurologic syndrome called AIDS dementia complex. To determine how long AZT takes to reach cerebral spinal fluid (CSF), how long, and at what concentration it is found there.