برای چاپ مقسوم علیه های یک عدد به این صورت عمل میکنیم:

n=inputbox(n)
n=val(n)
for i=1 to n
a=n mod i
if a=0 then print i
next i