Difference between revisions of "Buffer.new"

From GiderosMobile
(Created page with "'''Available since:''' Gideros 2020.2<br/> '''Class:''' Buffer<br/> === Description === Creates a new Buffer object. <source lang="lua"> Buf...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
=== Description ===
 
=== Description ===
Creates a new [[Special:MyLanguage/Buffer|Buffer]] object.
+
Creates a new '''Buffer''' object.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Buffer.new(name)
 
Buffer.new(name)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
'''name''': (string) The buffer name
+
'''name''': (string) the buffer name<br/>
  
 
{{Buffer}}
 
{{Buffer}}

Latest revision as of 14:27, 13 July 2023

Available since: Gideros 2020.2
Class: Buffer

Description

Creates a new Buffer object.

Buffer.new(name)

Parameters

name: (string) the buffer name