Epsilon User's Manual and Reference >
Variable Reference >
bufname: system variable
Default value: "startup"
This variable contains the name of the current buffer. Setting it in
an EEL program switches to a different buffer. If the indicated buffer
does not exist, nothing happens. Use this method of switching buffers
only to temporarily switch to a new buffer; use the to_buffer(
) or to_buffer_num( ) subroutines to change the buffer a
window will display.
EEL code must use assignment, not strcpy( ) or similar, to set
it: bufname = "name" . It's not necessary to preserve the source
character array; Epsilon will copy the value.
More info:
Managing Buffers (Primitives)
Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.
|