Oxbow code: Difference between revisions

Content deleted Content added
No edit summary
m change source to syntaxhighlight
 
(One intermediate revision by one other user not shown)
Line 3:
Such code is normally removed unless sufficiently amusing or educational.
 
Similarly, variables and data structures can be left around after the last code that used them has gonebeen removed, though thesethis areis more commonly called [[unused variables|unused]] or [[unreferenced variable]]s.
 
The term is taken by analogy with [[oxbow lake]]s which are formed in nature when
Line 14:
(from
[http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Global.cpp?rev=1.46&root=gnash&view=markup gnash/server/asobj/Global.cpp 1.46])
<sourcesyntaxhighlight lang="Cpp">
static void
as_global_escape(const fn_call& fn)
Line 24:
fn.result->set_string(strInput.c_str());
}
</syntaxhighlight>
</source>
In this, "strHexDigits" is oxbow code (or oxbow data).