type or func?!?

new topic     » topic index » view thread      » older message » newer message

How should I define this routine? Is there any difference?

Example 1
type seq8(sequence x)
if length(x)=8 then return 1 else return 0 end if
end type


Example 2
function seq8(sequence x)
if length(x)=8 then return 1 else return 0 end if
end function


Regards,

Salix

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu