I have some code that looks like this:

(: Set up variables :)
...

(: Set up functions :)
...

try {
  make-first-thing-and-write-to-DB(),
  "first thing done",
  make-second-thing-based-on-first-thing-and-write-to-DB(),
  "second-thing-done"
}
catch ($e) {
  handle($e)
}

I would like to know how to make the second thing wait until the first
thing is finished before doing its thing. Any sample code would be much
appreciated.

Best

Tim Finney
Programmer
UVA Press


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to