There seems to be some confusion about the difference between the NetWebSource procedure, and the normal Clarion source procedure type. The goal of this post is to remove that confusion.
Firstly, it should be noted, that a NetTalk serve is a normal Clarion procedure. As such you're perfectly able to create, and call, normal source procedures. If you want to use p_web method calls in the procedure then set the Prototype/Parameters of the source procedure to
(NetWebServerWorker p_web)
** You should use a Source procedure whenever you want to create reusable code, but code which does not explicitly send any HTML to the browser **
A NetWebSource procedure is exactly the same as a normal Clarion source procedure, except that it assumes that the result of this procedure is text to send to the browser. In other words, a NetWebSource is where you create re-usable code that will (usually) send something to the browser when it is called.
** You should use a NetWebSource _only_ when you plan to send stuff to the browser.
Cheers
Bruce