new-mem [ define ] <memory> size <size>
new-mem allocates memory pointed to by <memory> of <size> bytes. If memory cannot be allocated, your application will error out.
If "define" is used, variable <memory> is created if it does not exist.
The pointer returned is void* and can be used for any purpose.
Allocate memory of 300 bytes:
new-mem define mystr size 300
Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Icons copyright Paweł Kuna licensed under MIT
. This web page is licensed under CC-BY-SA-4.0