The Cross-Platform xBase.
Version 3.0
Testing Harbour long string handling with device output.
$ hbrun longdev.prg The length of the long string is correct The length of a copy of the long string is correct The copy of the long string is equal to the long string Original: 81920 From file: 81920 The strings are equal
Clipper limited the size of a string to 65535 bytes (64 KiB).
In Harbour, this limit is 2 GiB for 32-bit builds and in practice
limited by the available memory for 64-bit builds.
To learn how to build/run this example, see this page.