Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-by-tab
      . . .
      zoom-window
   Variable Reference
      . . .
      buffer-color-scheme
      buffer-not-saveable
      bufname
      bufnum
      build-first
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
buffer-not-saveable  Variable Reference   bufnum


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)



Previous   Up    Next
buffer-not-saveable  Variable Reference   bufnum


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.