Harshad or Niven series: Difference between revisions

Content deleted Content added
Nig (talk | contribs)
Nig (talk | contribs)
m →‎{{header|AppleScript}}: "Idiomatic" version: removed an unnecessary repeat from the test code.
Line 192:
end repeat
 
-- set h to 0nextHarshad(1000)
 
repeat until (h > 1000)
set h to nextHarshad(h)
end repeat
return {harshads, h}</lang>