Scratchpad

If you are new to Scratchpad, and want full access as a Scratchpad editor, create an account!
If you already have an account, log in and have fun!!

READ MORE

Scratchpad
Register
Advertisement

Buffers are like strings, but with a much more specific purpose. A string is good at holding text, but adding stuff to it is pretty slow. If you need to do a whole bunch of little inputs to something, a buffer is a better choice over a string. Its main use is File I/O. After text has been dumped into a buffer, it is considerably faster to deal with it as a string.

Advertisement