mwm@violet.berkeley.edu.UUCP (06/18/87)
I just shipped placewindow to comp.amiga.sources. Placewindow is a simple hack that lets you move/resize a window from the CLI. You can also ask placewindow to change the max size limits on the window to -1, -1 (and do all three of the above in odd combinations). The syntax for window geometry is an extension of conman. Finally, there's a hook to start a command running, then wait for that command to create a window for placewindow to twiddle. This thing also has twice as many labels as I've ever put in a C program, in two classical "non-goto-less" type places. One involves an exit from a two-deep loop, and the other involves early termination of a parse. I'd be interested in rewrites of either that generate *more readable* goto-less code. The obvious changes (shuffling the code after the loop exit into an if, pushing the parser into a subroutine that uses 7 variables to talk to main, or pushing that code into a deeply-nested if) is *not* considered more readable. <mike -- How many times do you have to fall Mike Meyer While people stand there gawking? mwm@berkeley.edu How many times do you have to fall ucbvax!mwm Before you end up walking? mwm@ucbjade.BITNET