set_print_function
set_print_function
は fname(F)
を通常の画面表示関数の代わりによぶ.
@code 引数がない場合は画面表示関数をデフォールトへ戻す.
@code Asir-contrib はこの関数を用いて出力関数を Asir-contrib 用に変更している.
[219] def my_output(F) { print("Out: ",0); print(rtostr(F)); } [220] set_print_function("my_output"); Out: 0 [221] 1+2; Out: 3
ChangeLog
Go to the first, previous, next, last section, table of contents.