This is another Haskell style question. I had some trouble with the pretty printer that comes with GHC, so I translated one written in Standard ML. I have already translated the program into C, so rewriting it in Haskell was quick and easy for me. The Standard ML version uses a reference cell to keep track of the space available on a line. I threaded the value of the reference cell through
I just realised that you may end up with two tilde's in some circumstances which precludes using Text to Columns after the Find and Replace, but doesn't stop you using FIND as it will work on the first tilde only, if you use it like this. This will return everything to the left of the tilde =LEFT(B1,FIND("~",B1)-1) Either of these will return everything to the right of the tilde =MID(B1
Yeah, it's essentially a multi-line %%LET statement. har har -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of toby dunn Sent: Wednesday, August 22, 2007 11:58 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Re: nested macros and leading spaces A macro with no parameters is pretty much useless as teats on a bull. Toby Dunn Two wrongs are
Hi Chang, You have some good input here, but you may want to becareful encouraging yourself that putting parens on, in all cases, is safe. With the following examples, please take careful note that having empty parents on the %%MACRO statement or not are basically a wash. They generate a macro with no args. Where you may have applications that are producing incorrect and possibly undesirable
On Tuesday, July 10, 2007 at 10:51 AM Lizette Koehler wrote: I have been trying to get PROC REPORT to break on my first column and summarize the information. So far, the correct coding technique is eluding me. The columns that you want summarized need to be ANALYSIS variables rather than GROUP variables. Also, you can eliminate the sorting and summarizing steps as PROC REPORT