Silverfrost Logo About Us | Contact Us
 

ALLOCSTR@

Platform

x64, Win32

Purpose

To allocate dynamic storage and copy a string.

Syntax

INTEGER (KIND=3) FUNCTION ALLOCSTR@(STRING)
CHARACTER (LEN=*) 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@ .

 

 

Copyright © 1999-2017 Silverfrost Limited