Hello everybody.

I am novice in Ada programming and just came from C/C++. Sorry I could not
find another discussion forum on Internet more technical so I am asking
question here.

I translate my source code from C/C++ and meet one feature I can not
resolve: the static variables in Ada.

The example:

In C:

Int foo()
{
static int v;
v = init_static();
...
}

and the v variable will hold the value between calls. How can I do this in
Ada?

Thank you.