To compare the effectiveness and toxicity of didanosine (ddI) and zidovudine (AZT) in patients with AIDS or advanced AIDS-related complex (ARC) who have tolerated AZT therapy for 12 months or longer. Per amendment, asymptomatic patients with CD4 counts less than 200 cells/mm3 are eligible.