Jump to content

Define a primitive data type: Difference between revisions

m
→‎{{header|Sidef}}: added equality support
m (→‎{{header|Sidef}}: minor code improvements)
m (→‎{{header|Sidef}}: added equality support)
Line 1,461:
method to_s { value.to_s }
method get_value { value.get_value }
 
method ==(Number x) { value == x }
method ==(MyInt x) { value == x.value }
 
method AUTOLOAD(_, name, *args) {
2,747

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.