---
name: "flx_decl"
section: "1"
platform: "linux"
package: "felix"
version: "1.1.1-2+b1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/flx_decl"
---

# flx\_decl(1)

## NAME

Felix declarations and definitons (these need to be checked!).

## declarations and defintions

**struct \<identifier\> { \<identifier\>: \<type\> ... };**\
 Define a struct.\

**union \<identifier\> = \| \<identifier\> of \<type\> ...;**\
 Define a union.  The of \<type\> part is optional.\

**module \<identifier\> { \<statements\> }**\
 Define a module.\

**fun \<identifier\> (\<arglist\>):\<type\>= { \<statements\> };**\
 Define a function. The return type is optional.

**proc \<identifier\> (\<arglist\>) { \<statements\> };**\
 Define a procedure.

**inherit \<identifier\> = \<qualified\_name\>;**\
 **inherit fun \<identifier\> = \<qualified\_name\>;**\
 Inject the name of an entity or function set into the public interface of a module.

**\<identifier\> :\>**\
 Specify a label.\

## VERSION

**1.1.1\_rc1**

## SEE ALSO

**[felix(1)](/felix/1.md)** for a language introduction and man page index\
 **[flx(1)](/flx/1.md)** for a list of the tools.\
 **[flxcc(1)](/flxcc/1.md)** for a description of the wrapper generator tool.\
 **[flx\_lit(1)](/flx_lit/1.md)** for a description of literals\
 **[flx\_op(1)](/flx_op/1.md)** for a list of operators\
 **[flx\_cop(1)](/flx_cop/1.md)** for a list of C operator precedence names\
 **[flx\_key(1)](/flx_key/1.md)** for a list of keywords\
 **[flx\_grammar(1)](/flx_grammar/1.md)** for a grammar summary\
 **[flx\_lib\_typ(1)](/flx_lib_typ/1.md)** for a list of library types\
 **[flx\_dir(1)](/flx_dir/1.md)** for a list of directives\
 **[flx\_exec(1)](/flx_exec/1.md)** for a list of executable statements\
 **[flx\_decl(1)](/flx_decl/1.md)** for a list of declarative statements\
 **[flx\_bind(1)](/flx_bind/1.md)** for a list of binding statements\

## WEB SITE

See **http://felix.sourceforge.net**\

## AUTHOR

John Maxwell Skaller, mailto:skaller@users.sourceforge.net
