Path: utzoo!attcan!uunet!bu.edu!rpi!zaphod.mps.ohio-state.edu!samsung!noose.ecn.purdue.edu!stable.ecn.purdue.edu!yorkw From: yorkw@stable.ecn.purdue.edu (Willis F York) Newsgroups: comp.sys.amiga Subject: Re: Problem with AREXX & CED! Summary: Got it to work (Worked around a BUG!) Keywords: AREXX, Ced, Help Message-ID: <1990Sep2.033149.24131@ecn.purdue.edu> Date: 2 Sep 90 03:31:49 GMT References: <1990Sep1.220558.6460@ameristar> <1990Sep2.021440.23224@ecn.purdue.edu> Sender: yorkw@stable.ecn.purdue.edu Distribution: comp.sys.amiga Organization: Purdue University Engineering Computer Network Lines: 36 {} {} Well I got it to work Here's what i DID. getstring '" "' question.X if (result= "") | (result="RESULT") then result= "'Ya Made A Boo Bo!'" answer = '"'||result||'"' /* This is the Main Diff!!! */ okay1 answer replace rvar.X answer Aparently the replace needs a set of " " around the string it gets sent. but it seems to strip off too many sets of " " (posibially AREXX strips off 1 set then CED does it again.??? (Or it's just a Programming ERROR!) Thus i add an extra set of " " to the ends of the string inside the var. answer. thus 'Joe Smith' becomes "'joe Smith'" i don't think this is ever needed to BE done in AREXX . thus i can't see why it NEEDS to be done here., (Thus a Bug??) so the replace strips off a set of "" and still has a set to work with. the second set DOES NOT appear in the replaces text. ie. they also get striped off and the Text+spaces gets put where it belongs. I am using Version 2 CED pro. Thus this BETTER be FIXED in the NEXT VERSION!!! well Keep on REXX'ing C thus i add an extra set of " " to the (results) -- |\/\/\/| / yorkw@stable.ecn.purdue.edu -------------------------\ | | | Willis F York Better Known as the Pacificist AGNE | | (o)(o) | Full Time Student | C _) | Agricultural Engineering, Purdue University |