QB64 Bug: LEN(integer variable) does not workby qbguy (no login)Program that produces the bug: i% = 32767 PRINT LEN(i%) QBASIC produces 2. QB64 produces C++ error. LEN(non string variable) should return the size in bytes of the variable. LEN(stringexpression$) or LEN(variable) ■ stringexpression$ A string constant or string expression. ■ variable Identifies the object for which you want the number of required bytes. Returns The number of characters in stringexpression$ or the number of bytes required by variable. from IP address 72.48.236.6 |
| Response Title | Author and Date |
| * This could be implemented in C++ using sizeof | qbguy on Apr 16 |
| You may be right. | rpgfan3233 on Apr 16 |
| There can be an array and a scalar with the same name | qbguy on Apr 16 |
| * Really? That annoys me a lot! | rpgfan3233 on Apr 16 |