>Robert asked, > >>If anyone can supply versions of the below for C, Pascal, Java, RB or >>anything else commonly used in MacDom, that would be a help. I can then >>tailor the output for that language. Globals not necessary, but some DIM >>arrangement is I think. >> >>// Sample Output, FB 3 >>// Comment Line >> >>Begin Globals >>DIM rect1 as RECT >>DIM rect2 as RECT >>DIM rect3 as RECT >>End globals >> >>Clear Local >>Local FN Init_Rects >>SetRect(rect1, 0, 0, 200, 300) >>SetRect(rect2, 20, 20, 230, 330) >>SetRect(rect3, 4, 30, 210, 320) >>End FN > > >Robert, > >I believe this should be close in C: <snip> >and this in Pascal: <snip> >Please note differences in use of semicolons for end-of-line >demarcation. Maybe some real C and Pascal gurus can verify these for >syntax. > >Best, > >Ken Thank you Ken, and nice pun with Semicolon, at least when applied to the moniker of the target app. I will look through the source for NIH Image for the Pascal convention to check that. Looks close. The C version looks fine, I can add some header includes there. A kind soul who prefers to remain anonymous supplied the Java equivalent. A Great App With A Stinky Name, That's RECTal Itcher. :) I'm such a Charmin fellow to write such a Charmin application that handles tissue squares like these. Robert