>>>>> "G" == Geert Fannes <Geert.Fannes@ikanconsulting.com> writes:
G> Why does this cause a problem when extern is omitted? Is there some
G> standard return type C assumes when extern is not present?
Yes, without declaration the return type is assumed to be int.
When you declare it 'extern VALUE localFunction()' it has the right return
type (unsigned long).
Guy Decoux