diff --git a/SMILEBASIC/type.d b/SMILEBASIC/type.d index 83648c3..81121bc 100644 --- a/SMILEBASIC/type.d +++ b/SMILEBASIC/type.d @@ -46,6 +46,10 @@ struct Value this.type = ValueType.Integer; integerValue = value; } + this(bool value) + { + this(cast(int)value); + } this(double value) { this.type = ValueType.Double;