Char


Node Information
Character (only one), could be anything.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
Value OUT Char MULTIPLE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.Variables
{
    [IsNode("Char")]
    public class VarChar : Node
    {
        Port a = new Port(PortType.OUT, typeof(char), AcceptsLinks.MULTIPLE, "Value");
        public VarChar()
        {
            NodeType = KGraph.NodeType.Variable;
            ReturnType = typeof(char);
            a.Value = "0";
            this.Name = "Char";
            this.AddPort(a);
            Information = "Character (only one), could be anything.";
        }
        public override string Code()
        {
            return a.Value;
        }
    }
}