allocate = callocate?

New to FreeBASIC? Post your questions here.
Post Reply
MaKo
Posts: 1
Joined: Aug 25, 2024 12:27

allocate = callocate?

Post by MaKo »

Hello,

when I request memory with allocate, that area is always set to zero. That's what callocate should be for, right?

I am using: FreeBASIC Compiler - Version 1.10.1 (2023-12-24), built for linux-x86_64 (64bit)
Imortis
Moderator
Posts: 1948
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: allocate = callocate?

Post by Imortis »

Allocate don't clear the memory, but it might already be cleared.
Post Reply