Rosetta entry: Boolean values

Post Reply
User avatar
sarossell
Posts: 195
Joined: Sat Nov 05, 2016 6:31 pm
My devices: iPad Mini 2, iPhone 5, MacBook Air, MacBook Pro
Flag: United States of America
Contact:

Rosetta entry: Boolean values

Post by sarossell »

This one surprised me. I knew that sB doesn't evaluate Boolean comparisons within string arrays ( e.g., m$(a>5) ), but I did not expect that sB simply doesn't evaluate Boolean expressions outside of IF/THEN statements at all. :shock:

http://rosettacode.org/wiki/Boolean_values#smart_BASIC
smart BASIC Rocks!

- Scott : San Diego, California

Post Reply