NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Width # Statement Example

This example uses the Width # statement to set the output line width for a file.

Dim I
Open "TESTFILE" For Output As #1   ' Open file for output.
VBA.Width 1, 5   ' Set output line width to 5.
For I = 0 To 9   ' Loop 10 times.
   Print #1, Chr(48 + I);   ' Prints five characters per line.
Next I
Close #1   ' Close file.