There are two types of code data types in \mbox{\hyperlink{namespace_qore}{Qore}} (see also \mbox{\hyperlink{basic_data_types}{Basic Data Types}} and \mbox{\hyperlink{container_data_types}{Container Data Types}})\+:
\begin{DoxyItemize}
\item \mbox{\hyperlink{code_data_types_closure_type}{Closure Type}}
\item \mbox{\hyperlink{code_data_types_callref_type}{Call Reference Type}}
\end{DoxyItemize}

\DoxyHorRuler{0}
 \hypertarget{code_data_types_closure_type}{}\doxysection{Closure Type}\label{code_data_types_closure_type}
\begin{DoxyParagraph}{Description\+:}
Closures are pieces of code used as values; see \mbox{\hyperlink{expressions_closure}{Closures}} for more information.
\end{DoxyParagraph}
\begin{DoxyParagraph}{Immediate Value Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{string sub (int c) \{ \textcolor{keywordflow}{return} \mbox{\hyperlink{group__string__functions_ga7a74be141f814ef286046c367b21091c}{sprintf}}(\textcolor{stringliteral}{"{}temp=\%d"{}}, c); \}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyParagraph}{Pseudo Class for Type Closure\+:}
\mbox{\hyperlink{class_qore_1_1zzz8closurezzz9}{Qore\+::zzz8closurezzz9}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Code\+:}
\mbox{\hyperlink{group__type__code__constants_ga7a11fe8da227e7fd1c31f705e828b6a9}{Qore\+::\+NT\+\_\+\+CLOSURE}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Name\+:}
{\ttfamily \char`\"{}closure\char`\"{}} 
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{expressions_closure}{Closures}}, \mbox{\hyperlink{data_type_declarations_code_type}{code}}, \mbox{\hyperlink{code_data_types_callref_type}{Call Reference Type}}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{code_data_types_callref_type}{}\doxysection{Call Reference Type}\label{code_data_types_callref_type}
\begin{DoxyParagraph}{Description\+:}
Call references are a value type that can be used like a \mbox{\hyperlink{code_data_types_closure_type}{closures}}; see \mbox{\hyperlink{expressions_call_reference}{Call References}} for more information.
\end{DoxyParagraph}
\begin{DoxyParagraph}{Immediate Value Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{\(\backslash\)function()}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyParagraph}{Pseudo Class for Type Call Reference\+:}
\mbox{\hyperlink{class_qore_1_1zzz8callrefzzz9}{Qore\+::zzz8callrefzzz9}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Code\+:}
\mbox{\hyperlink{group__type__code__constants_gaa27f1bed5a2cc4ef4e62c7c2897f564d}{Qore\+::\+NT\+\_\+\+CALLREF}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Name\+:}
{\ttfamily \char`\"{}call reference\char`\"{}} 
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{expressions_call_reference}{Call References}}, \mbox{\hyperlink{data_type_declarations_code_type}{code}}, \mbox{\hyperlink{code_data_types_closure_type}{Closure Type}} 
\end{DoxySeeAlso}
