ultimatepp/uppdev/ValueArray/main.cpp
cxl 3cd394812c Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

25 lines
362 B
C++

#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
Value v = 1;
String s = v;
DUMP(v.Is<ValueArray>());
DUMP(v.Is<int>());
DUMP(v == 1);
DUMP(v == 1.1);
DUMP(v == White());
v = White();
DUMP(v == White());
DUMP(v == Blue());
// DUMP(v == 1);
Color c = Black();
// Ref x = c;
// x = Value(Blue());
DUMP(c);
}