If the variable being written is a Variant of VarType 8 (String), Put writes 2 bytes identifying the VarType, 2 bytes indicating the length of the string, and then writes the string data. The record length specified by the Len clause in the Open statement must be at least 4 bytes greater than the actual length of the string.
If the variable being written is a fixed-size array, Put writes only the data. No descriptor is written to disk.
VarString$ = String$(10," ") Put #1,,VarString$
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question