Define a primitive data type: Difference between revisions

Content added Content deleted
Line 941: Line 941:
Base.throw("InexactError: U10 out of bounds, must be >= 0, <= 10")
Base.throw("InexactError: U10 out of bounds, must be >= 0, <= 10")
end
end
this.Ulessthan11 = UInt8(x)
this.Ulessthan11 = x
this
this
end
end