MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / OrdinalFunction

Method OrdinalFunction

src/function/ordinalfunction.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include "textvalue.h"
22
23OrdinalFunction::OrdinalFunction() : Function("ord")
24{
25 addDescription(tr("Convert a character to a number representing the Unicode code point."));
26 addParameter("value");
27}
28
29Value& OrdinalFunction::evaluate(const Context& ctx) const
30{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected