Platform | x64, Win32 |
Purpose |
To allocate dynamic storage and copy a string. |
Syntax |
INTEGER (KIND=7) FUNCTION ALLOCSTR@(STRING) |
Description |
ALLOCSTR@ copies STRING with trailing spaces removed and terminated by a null (i.e. a C-format string), into a dynamic storage space which it allocates. The string can be retrieved using the routine GETSTR@. |
Return value |
The return value of the function is the address of the storage used. |
Example |
See GETSTR@ . |