Jump to content
Excelsior Forums

DString Module Free/ToArray Operations?

Recommended Posts

I'm trying to use the DString module from Modula-2. After doing an Assign, don't you eventually have to free the memory that was allocated? Also how can I get a normal ARRAY OF CHAR back out of it to pass to existing procedures that don't take a DString?

Share this post

Link to post
Share on other sites

DString is Oberon-2. From the docs: "Some library modules are written in Oberon-2, others in Modula-2. In general, any library can be used from both languages. However, do not forget that Oberon modules use implicit memory deallocation scheme and require garbage collection. Refer to the Multilangauge programming Chapter of the XDS User's Guide."

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now