# Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.

# [Frama-c-discuss] defining functions in FramaC

• Subject: [Frama-c-discuss] defining functions in FramaC
• From: Christoph.Weber at first.fraunhofer.de (Christoph Weber)
• Date: Mon Oct 20 11:29:06 2008

Hi,
I am trying to define functions on my own. The 1_3 ACSL manual refers to nb_occ, a function that counts occurrences of a value in an array.
The given code suggests something prolog-like.
Unfortunately I don't know enough about FramaC programming. Perhaps you could send me an example which would illustrate how FramaC deals with recursive programming.

Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20081020/e5493cd7/attachment.html