incorporate the idea of python in the codification, to eliminate the end/end_
current
Code : Tout sélectionner
function AgeVote( )
local Age;
ClrIO
printf( "How old are you?" )
input( Age )
if Age ≥ 18 then
printf( "Go vote!" )
else
printf( "Sorry, not yet" )
end_if
return Done
ffunction
option without *end*
Code : Tout sélectionner
function AgeVote( )
local Age;
ClrIO
printf( "How old are you?" )
input( Age )
if Age ≥ 18 then
printf( "Go vote!" )
else
printf( "Sorry, not yet" )
return Done
ffunction