On Wed, Mar 12, 2008 at 11:43 AM, Lorenzo Fiorini
<[EMAIL PROTECTED]> wrote:

>  I wonder if exist sth like #pragma __include "file" to have sth like:
>
>  function xyz()
>
>    local cContent := ""
>
>    #pragma __cstream|cContent+=%s
>    #pragma __include "foo1.html"
>    #pragma __include "foo1.js"
>    #pragma __include "foo2.js"
>    #pragma _endtext
>
>    cContent += "<...><...></html>"
>
>  return cContent

Probably, would be easier to have sth like:

 function xyz()

    local cContent := ""

    #pragma __include|"foo1.html"|cContent+=%s
    #pragma __include|"foo1.js"|cContent+=%s
    #pragma __include|"foo2.js"|cContent+=%s

    cContent += "<...><...></html>"

    return cContent
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to