Code Execution Functions

Prev Next

Introduction

The following functions provide additional flexibility in code execution, e.g. calling functions with function names provided as strings, or ad-hoc execution of B4P code provided as strings.

  • call(): Call a B4P procedure or function with function name provided in a string
  • deep(): Call a B4P procedure or function repeatedly on a parameter set
  • statements(): Execute one or more B4P statements provided directly or in a string
  • expression(): Execute a B4P expression provided directly or in a string
  • compare(): Compare a value with a comparison expression provided directly or in a string
  • assign(): Assign a value to a B4P variable where the varialbe name (including members if needed) are provided directly or in a string.




Procedures and Functions Provided:


Call function or procedure by name provided:
    call

Call function for every parameter set element separately:
    deep
    deepr

Execute B4P statements provided:
    exec

Calculate an expression provided:
    calc

compare [function]:
    compare

assign [function]:
    assign