war gl gl it gl ca war gl gl zh gl en en ca en en gl en en en ur
Se non se especifica un carácter ou palabra chave de declaración de tipo, a instrución DefSng estabelece o tipo predefinido de variábel, de acordo cun intervalo de letras.
char: Letter prefix that specifies default data type for variables.
char-char: Letter range prefixes that specify default data type for variables.
' Prefix definitions for variable types: DefBool b DefCur c,l-m DefDate t DefDbl f DefErr e DefInt i-k,N DefLng x-z, D DefObj U, o-R DefSng w,a DefStr s DefVar V,g
Sub ExampleDefSng wSng=Single ' wSng is an implicit single variable Print afloat, Typename(Word), VarType(anyNum) ' Result is : 0 single 4 End Sub
Precisamos da súa axuda!
Impressum (Legal Info) | Privacy Policy | Statutes (non-binding English translation) - Satzung (binding German version) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Mozilla Public License v2.0. “LibreOffice” and “The Document Foundation” are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy. LibreOffice was based on OpenOffice.org.
Help content debug info:
This page is: /text/sbasic/shared/03101130.xhp
Title is: Instrución DefSng