BC - call a B function and print the returned (octal) value

Syntax:

BC function arg1 arg2 ...

Examples:

BC rand
BC shells vec 30 newcmp

Description:

The BC command allows you to call any B function in your program with arguments arg1, arg2, arg3 et cetera and return the value of the function in octal. The Q trace buffer is used for the stack, so caveat emptor.

Copyright © 1996, Thinkage Ltd.