Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!tut.cis.ohio-state.edu!ukma!psuvm.bitnet!prl From: PRL@PSUVM.BITNET Newsgroups: comp.lang.pascal Subject: Parsing in Pascal Message-ID: <89140.222228PRL@PSUVM> Date: 21 May 89 02:22:28 GMT Organization: Penn State University - Center for Academic Computing Lines: 15 Anyone have any idea how to implement this (REXX-like) instruction: procedure parse(main_string, template : string); example: parse('Now is the time','first_word . third_on'); would assign the global variable first_word to 'Now' and fourth_word to 'the time' The question is really: Is there a way to treat a string as the name of an actual variable? Thanks, Randy