Strings J/Direct Sample

This sample is located in \Samples\JDirect\Strings.

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

This sample shows how to pass strings using the String class and how to receive strings using the StringBuffer class.

Using the Sample

To run the sample

Run Go.bat in the \Samples\JDirect\Strings directory.

Key Project Files

Strings.java

This class contains methods that set the maximum size of the string buffer, write environment strings to the buffer, and return an array of strings (a list of all defined environment variables).

Technologies Demonstrated

Microsoft J/Direct

This sample shows how to:

© 1999 Microsoft Corporation. All rights reserved. Terms of use.