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



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

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

\end{DoxyParagraph}
\begin{DoxyParagraph}{Pseudo Class for Type Closure\+:}
\hyperlink{class_qore_1_1zzz8closurezzz9}{Qore\+::zzz8closurezzz9}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Code\+:}
\hyperlink{group__type__code__constants_ga7a11fe8da227e7fd1c31f705e828b6a9}{Qore\+::\+N\+T\+\_\+\+C\+L\+O\+S\+U\+RE}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Name\+:}
{\ttfamily \char`\"{}closure\char`\"{}} 
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\hyperlink{expressions_closure}{Closures}, \hyperlink{data_type_declarations_code_type}{code}, \hyperlink{code_data_types_callref_type}{Call Reference Type}
\end{DoxySeeAlso}


 \hypertarget{code_data_types_callref_type}{}\section{Call Reference Type}\label{code_data_types_callref_type}
\begin{DoxyParagraph}{Description\+:}
Call references are a value type that can be used like a \hyperlink{code_data_types_closure_type}{closures}; see \hyperlink{expressions_call_reference}{Call References} for more information.
\end{DoxyParagraph}
\begin{DoxyParagraph}{Immediate Value Example\+:}

\begin{DoxyCode}
\(\backslash\)function()
\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyParagraph}{Pseudo Class for Type Call Reference\+:}
\hyperlink{class_qore_1_1zzz8callrefzzz9}{Qore\+::zzz8callrefzzz9}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Code\+:}
\hyperlink{group__type__code__constants_gaa27f1bed5a2cc4ef4e62c7c2897f564d}{Qore\+::\+N\+T\+\_\+\+C\+A\+L\+L\+R\+EF}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Name\+:}
{\ttfamily \char`\"{}call reference\char`\"{}} 
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\hyperlink{expressions_call_reference}{Call References}, \hyperlink{data_type_declarations_code_type}{code}, \hyperlink{code_data_types_closure_type}{Closure Type} 
\end{DoxySeeAlso}
