Back in the mists of time, in FORTRAN IV and 77, I used to do things like that using ENCODE and DECODE which provided normal fortran formatted output to character variables like your "name" variable instead of writing to file/printer/etc.
No doubt these have long been replaced by more modern techniques.
Use interpretive language instead of that Fortran with its compilers (if you don't want to implement your own run-time dictionary stuff to keep relations between variable names and its memory locations...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.