Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!news.funet.fi!polaris.utu.fi!polaris!sutela From: sutela@polaris.utu.fi (Kari Sutela) Newsgroups: comp.sys.amiga.programmer Subject: Re: Arexx programming help wanted Message-ID: Date: 24 Apr 91 11:33:26 GMT References: <18587@sdcc6.ucsd.edu> Organization: University of Turku, Finland Lines: 30 >The output from this fragment is UPPERANDLOWERCASE. How do I preserve case? Try: Lookup: parse arg myString ^^^^^ Notice the parse qualifier before ARG. You should read the chapter on PARSE-command; it's a really powerful command. >2> Is there a way (aside from writing an External Function > Library) to maintain a collection of Arexx functions which can be called > from various scripts? I have thought about this and it certainly should be possible to write an ARexx `function server'. One would call a function somewhat like this: result = server( afunctionname [, arguments] ) Server is a separate ARexx script which locates the functions and makes the real call. Performance might be quite bad, though. Of course, every primitive function could be in its own script, but having a huge amount of small scripts is not my idea of fun. I might try writing a function server when I have the time. -- Kari Sutela sutela@polaris.utu.fi