Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.03 KB

File metadata and controls

50 lines (40 loc) · 1.03 KB

WriteLnMac

Description

Writes a line of data to a text file using Macintosh character encoding for extended ASCII characters (128-255). This allows extended character data to be properly read and displayed by VectorWorks on Windows systems (VectorWorks by default uses Macintosh encoding for extended character values).

The line of data written to file is terminated with a return character combination appropriate for the platform on which the file is being written.

PROCEDURE WriteLnMac(z : ANY);
def vs.WriteLnMac(z):
    return None

Parameters

Name Type Description
z ANY

Examples

VectorScript

PROCEDURE Example;
CONST
Vendor = 'ACME';
Price = 123.45;
Tax = 1.07;
BEGIN
Open('Output.txt');
WriteLnMac('Mfr/Cost: ', Vendor, '/', Price + Tax);
Close('Output.txt');
END;
RUN(Example);

Python

See Also

VS Functions: WriteLn

Version

Availability: from VectorWorks9.0

Category