Execute B4P Expressions Interactively

Prev Next

Introduction

You can calculate expressions and see the outcome (value and data type) on the console directly. The simple syntax consists of an equal sign (=) followed by the expression.

>> a[] = 5
>> = a[]* (3 + 5)
24 [plain numeral]
>> = average( 1,2,3,4 )
2.5 [plain numeral]
>> table load ( t, 'Examples\Cities.csv' )
>> = [t: City, Boston, 'State/Province' ]
Massachusetts [quoted string]
>> exit // Leave B4P