Difference between revisions of "Data types"

From VideoLAN Wiki
Jump to navigation Jump to search
(Create page to explain integers, boolean values, strings, and floats)
 
(Boolean values may be given on the command-line as <code>--example</code> or <code>--no-example</code>.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{See also|C Types}}
 
Below are descriptions for data types commonly used in C-programming relevant to VLC.
 
Below are descriptions for data types commonly used in C-programming relevant to VLC.
  
Line 5: Line 6:
 
;String : A data type of varying length used to represent words (punctuation is generally permitted), e.g. "foo" or "I'm a sentence."
 
;String : A data type of varying length used to represent words (punctuation is generally permitted), e.g. "foo" or "I'm a sentence."
 
;Float : A contraction of ''floating-point decimal number'' such as 1.0000 or -20.73
 
;Float : A contraction of ''floating-point decimal number'' such as 1.0000 or -20.73
 +
 +
Boolean values may be given on the [[command-line]] as <code>--example</code> or <code>--no-example</code>.
 +
 +
[[Category:Glossary]]

Latest revision as of 07:20, 6 April 2019

See also: C Types

Below are descriptions for data types commonly used in C-programming relevant to VLC.

Integer 
Any whole-number value, e.g. -25 or 655
Boolean 
A "toggle switch" value that is either true or false (sometimes seen as 1 or 0)
String 
A data type of varying length used to represent words (punctuation is generally permitted), e.g. "foo" or "I'm a sentence."
Float 
A contraction of floating-point decimal number such as 1.0000 or -20.73

Boolean values may be given on the command-line as --example or --no-example.