DefSng Statement /text/sbasic/shared/03101130.xhp
DefSng statement

DefSng Statement

If no type-declaration character or keyword is specified, the DefSng statement sets the default variable type, according to a letter range.
Sub ExampleDefSng wSng=Single ' wSng is an implicit single variable Print afloat, Typename(Word), VarType(anyNum) ' Result is : 0 single 4 End Sub