Re: Userdefined datatypes
- Posted by ZNorQ Mar 06, 2015
- 1515 views
Ah forget it! Stupid me, I assumed short-circuit applied to the...
return ( integer( nByte ) and nByte >= 0 and nByte <= 255 )
... however I tried modifying the code to the following;
type byte( object nByte ) if sequence( nByte ) then return false else return ( integer( nByte ) and nByte >= 0 and nByte <= 255 ) end if end type
New motto; THINK, before you post... Oo
Kenneth