BASIC Anywhere Machine's GOSUB implementation allows using numeric expressions for dynamic line numbers or using string expressions for dynamic line labels.
- As of this blog entry's publishing, the "production" version of BAM requires such an expression to be within parentheses and preceded by the "EVAL" keyword
- example: GOSUB EVAL( some_expression )
- The current "development" version of BAM drops the "EVAL" keyword, because the parentheses are enough for indicating an expression for GOSUB
- example: GOSUB ( some_expression )
- note: this syntax will appear in some yet-to-be-determined "production" release of BAM, replacing the syntax using "EVAL"