WriteShort( ) method
- Last Updated: July 20, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Write the signed 2-byte value of i (as a
SHORT) to the current MemoryOutputStream object. The AVM will return a runtime overflow
error if the value i cannot fit 2 into bytes or be
represented as a SHORT type.
Note: This method is equivalent to the
PUT-SHORT statement, which applies to MEMPTR variables but not to
MemoryOutputStream objects.Return type: INT64
Access: PUBLIC
Applies to:Progress.IO.MemoryOutputStream class
Syntax
|