LOTUSSCRIPT LANGUAGE
' The variables count and nextNum are explicitly declared
' as type Byte. There is no suffix character for Byte, so a
' variable of type Byte cannot be declared implicitly.
Dim count as Byte
Dim nextNum as Byte
count = 1
nextNum = count + 1
Print count; nextNum ' Output: 1 2
Example 2
' Use Byte data type to retrieve single byte from a file
Dim b As Byte
Dim FF As Integer
FF = Freefile
Open "myfile.data" For Binary Access Read As ff
While (Not Eof(ff))
Get #ff, ,b
Wend
Close #ff
See Also