Difference between revisions of "Data types"

From VideoLAN Wiki
Jump to navigation Jump to search
m (See also: C Types)
(Boolean values may be given on the command-line as <code>--example</code> or <code>--no-example</code>.)
 
Line 6: 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]]
 
[[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.