Difference between revisions of "ObjectType:byte"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
== Methods ==
 
== Methods ==
 
* '''Inc''': Increments this byte by 1
 
* '''Inc''': Increments this byte by 1
* '''Inc['''formula''']''': Increments this byte by a given amount  
+
* '''Inc['''[[LavishScript:Mathematical Formulae|formula]]''']''': Increments this byte by a given amount  
 
* '''Dec''': Decrements this bye by 1
 
* '''Dec''': Decrements this bye by 1
* '''Dec['''formula''']''': Decrements this byte by a given amount
+
* '''Dec['''[[LavishScript:Mathematical Formulae|formula]]''']''': Decrements this byte by a given amount
* '''Set['''formula''']''': Sets this bye to a given value
+
* '''Set['''[[LavishScript:Mathematical Formulae|formula]]''']''': Sets this bye to a given value
  
 
== Returns ==
 
== Returns ==

Revision as of 14:09, 19 July 2005

Description

Similar to an int, a byte is a whole number. The range of a byte is 0-255.

Members

(none)

Methods

  • Inc: Increments this byte by 1
  • Inc[formula]: Increments this byte by a given amount
  • Dec: Decrements this bye by 1
  • Dec[formula]: Decrements this byte by a given amount
  • Set[formula]: Sets this bye to a given value

Returns

The string representation of this number

Examples

See Also

Data Types