On Mon, Jul 6, 2009 at 11:54 AM, David Brownell<[email protected]> wrote: > On Monday 06 July 2009, Ųyvind Harboe wrote: >> - unless a fn *explicitly* documents it's return values, then >> the calling code should treat the return value as a boolean >> success/failure. > > You're talking about C codes, right?
Yes. > There's more that should be said about returning values > from Tcl commands ... so that scripts can use them. Can you give some examples of where tcl scripts would do anything but catch exceptions as a boolean fail/succeed? Should we rely on tcl scripts for anything more complicated? -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
