B - Change buffer.

Syntax:

B(bufname)

Description:

B goes to the buffer with the given name. If this is the first time you have referenced this buffer, FRED creates the buffer and sets "." to zero; otherwise, "." will have the value it had the last time you were in this buffer. When you first enter FRED, the current buffer is (0).

When B creates a new buffer, it gives the new buffer the same tab stops as the buffer you were just in. However, if you go to another buffer immediately without entering anything into the newly created buffer, the created buffer will be deleted and its tab stops will be removed. Once a buffer has been created, its tab stops can be changed without affecting the tabs in any other buffer.

When you use B to change buffers, FRED checks the buffer you are leaving. If this buffer contains no text and has no associated file name, FRED will delete the buffer when you leave it.

Copyright © 1998, Thinkage Ltd.