Procedure variables and local procedures
30 Sep
2017
30 Sep
'17
12:54 p.m.
chris chris at gcjd.org Sat Sep 30 11:56:41 CEST 2017
I mean things like:
TYPE CharPtr = POINTER TO ARRAY OF CHAR;
VAR p : CharPtr; BEGIN NEW(p, 1234);
There is nothing low level here. That is a widely used feature in ETH Oberon (System 3) or whatever you call it today. What is wrong with this? Even if I had to write a string librarary for UTF8 I would use this feature for the buffers internally and not linked list of fixed (compile time determined) sized pieces.
Greeting, chris
If you really need this the ability to call NEW(p, 1234) in Oberon-07, you can just add it back from github.com/andreaspirklbauer/Oberon-generic-heap-allocation However, don't expect backward compatibility with Oberon-07 ;-) -AP
3343
Age (days ago)
3343
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andreas Pirklbauer