For example , for ( r in 1 : 6 ) { print r } returns "1,2,3,4,5 " ,excluding the right boundary .
However , between 1 : 6 returns true , meaning that " 6 " is inclued in the pair . Are the two contradictory ?
For example , for ( r in 1 : 6 ) { print r } returns "1,2,3,4,5 " ,excluding the right boundary .
However , between 1 : 6 returns true , meaning that " 6 " is inclued in the pair . Are the two contradictory ?
Share Improve this question asked Feb 21 at 3:11 da Linda Lin 11 Answer
Reset to default 0Dlang is a multi-paradigm programming language. Besides functional programming and imperative programming, it supports SQL programming. In SQL, the right end of the between
operator is inclusive. In order to follow the convention of SQL, the pair of Dlang in between
is right closed.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745169051a4614809.html
评论列表(0条)