To compare the safety and effectiveness of orally administered didanosine (ddI) with high dose orally administered zidovudine (AZT) in patients who develop or exhibit progression of the AIDS dementia complex (ADC) and who have not previously been intolerant to AZT at doses of up to 1000 mg/day.