4 ms·
I'm remembering at least some versions of basic were pass by reference for all types.
by Gibbon1 12y ago
I'm remembering at least some versions of basic were pass by reference for all types.
- boomlinde 12y agoEarly variants simply "passed by reference" by virtue of not having local variables or functions at all. A "function" would be implemented by the programmer as a subroutine that used a specific set of the global variables available for its input and output values.