|
2014-11-11
| ||
| 09:40 | • New ticket [3d8e1a2784] binary scan manpage enhancement request. artifact: 00232263e4 user: anonymous | |
binary scan manpage enhancement request
Open3d8e1a27841469a440e38bd04002a4a238884eeeCreated 12 years agoUpdated 12 years ago
Descriptionplain2014-11-11 09:40:28
The documentation of the *-form of "binary scan" for the POD types (c,d,f,h,r,q et al.) should be enhanced to make it clear that the * operator makes the scan succeed (return 1) even if no values were produced. % binary scan "" c* val 1 % set val % The object of the *-form seems to be to create a *list*, and it has succeeded to do so, hence the return value of 1, even if no actual "c"-values have been converted. In contrast, the non-*-forms try to create *values* and fail if they can't % binary scan "" c val 0
Log in (anonymous is fine) to add a comment.