\doxysection{Code Data Types}
\hypertarget{code_data_types}{}\label{code_data_types}\index{Code Data Types@{Code Data Types}}
There are two types of code data types in \doxylink{namespace_qore}{Qore} (see also \doxylink{basic_data_types}{Basic Data Types} and \doxylink{container_data_types}{Container Data Types})\+:
\begin{DoxyItemize}
\item \doxysectlink{code_data_types_closure_type}{Closure Type}{1}
\item \doxysectlink{code_data_types_callref_type}{Call Reference Type}{1}
\end{DoxyItemize}

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

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

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyParagraph}{Pseudo Class for Type Closure\+:}
\doxylink{class_qore_1_1zzz8closurezzz9}{Qore\+::zzz8closurezzz9}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Code\+:}
\doxylink{group__type__code__constants_ga7a11fe8da227e7fd1c31f705e828b6a9}{Qore\+::\+NT\+\_\+\+CLOSURE}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Name\+:}
{\ttfamily "{}closure"{}} 
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{expressions_closure}{Closures}{1}, \doxysectlink{data_type_declarations_code_type}{code}{1}, \doxysectlink{code_data_types_callref_type}{Call Reference Type}{1}
\end{DoxySeeAlso}
\DoxyHorRuler{0}
 \hypertarget{code_data_types_callref_type}{}\doxysubsection{\texorpdfstring{Call Reference Type}{Call Reference Type}}\label{code_data_types_callref_type}
\begin{DoxyParagraph}{Description\+:}
Call references are a value type that can be used like a \doxysectlink{code_data_types_closure_type}{closures}{1}; see \doxysectlink{expressions_call_reference}{Call References}{1} 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\+:}
\doxylink{class_qore_1_1zzz8callrefzzz9}{Qore\+::zzz8callrefzzz9}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Code\+:}
\doxylink{group__type__code__constants_gaa27f1bed5a2cc4ef4e62c7c2897f564d}{Qore\+::\+NT\+\_\+\+CALLREF}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Type Name\+:}
{\ttfamily "{}call reference"{}} 
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\doxysectlink{expressions_call_reference}{Call References}{1}, \doxysectlink{data_type_declarations_code_type}{code}{1}, \doxysectlink{code_data_types_closure_type}{Closure Type}{1} 
\end{DoxySeeAlso}
