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
bufname = "name". It's not necessary to preserve the source
character array; Epsilon will copy the value.
Managing Buffers (Primitives)
Copyright (C) 1984, 2018 Lugaru Software Ltd. All Rights Reserved.