Greatest common divisor: Difference between revisions
m
→{{header|FutureBASIC}}
Line 3,430:
=={{header|FutureBASIC}}==
<syntaxhighlight lang="FutureBASIC">▼
This is a nearly-trivial 6-line function, so we've dressed it up a bit to show how easily FutureBASIC builds a full, interactive application. In FB, when you complete your code and hit RUN, the built app can open in as little as 3 seconds.
Line 3,444 ⟶ 3,443:
[[File:Running_app.png|280px|frameless]]
▲<syntaxhighlight lang="FutureBASIC">
begin enum 1 // Object tags
_fldA
Line 3,505 ⟶ 3,502:
</syntaxhighlight>
{{output}}
[[File:GCD_of_814997010_and_4644003.png|200px|framed]]
[[File:GCD_of_1234567890_and_9876543210.png|200px|framed]]
[[File:GCD_of_51015_and_15051.png|200px|framed]]
[[File:GCD_of_1881_and_8118.png|200px|framed]]
[[File:GCD_of_42426466_and_2445968527.png|200px|framed]]
[[File:GCD_of_123_and_empty_field.png|200px|framed]]
=={{header|GAP}}==
|