X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Ftutorial.texi;h=ade65acedc3b391666f62190221fc233c6b7b047;hb=refs%2Fbuilds%2F20140203033034%2Fpspp;hp=1fabdea928cd64c8dda5470de0263a97505f0b7f;hpb=1b1837591924226078c96db15888b68beec2ef6d;p=pspp diff --git a/doc/tutorial.texi b/doc/tutorial.texi index 1fabdea928..ade65acedc 100644 --- a/doc/tutorial.texi +++ b/doc/tutorial.texi @@ -144,6 +144,16 @@ and @samp{(A12)} says that the variable @var{forename} is a string variable and that its maximum length is 12 bytes. The second variable's name is specified by the text @samp{height}. Since no format is given, this variable has the default format. +Normally the default format expects numeric data, which should be +entered in the locale of the operating system. +Thus, the example is correct for English locales and other +locales which use a period (@samp{.}) as the decimal separator. +However if you are using a system with a locale which uses the comma (@samp{,}) +as the decimal separator, then you should in the subsequent lines substitute +@samp{.} with @samp{,}. +Alternatively, you could explicitly tell @pspp{} that the @var{height} +variable is to be read using a period as its decimal separator by appending the +text @samp{DOT8.3} after the word @samp{height}. For more information on data formats, @pxref{Input and Output Formats}.