Deutsch English
Alphabetical index
Array functions
CGI functions
Data types
Date functions
Fulltext functions
Language elements
Numerical functions
Other functions
Ramtext functions
  • loadtemplate()
  • ramtext()
  • ramtext_copy()
  • ramtext_delete()
  • ramtext_find()
  • ramtext_insert()
  • ramtext_name()
  • ramtext_part()
  • ramtext_paste()
  • ramtext_subst()
  • subst()
    Socket functions
    Statistical functions
    Stream functions
    String functions
    System functions
    Table functions
    Text functions
    Home    Overview    Search    Impressum    Contact    Members
    Topic complex Ramtext functions
    Function loadtemplate()
    Short Loads an external text file to the system ramtext
    Syntax LOADTEMPLATE(textfile : STRING) : INTEGER
    Parameter textfile : path of an external text file
    Return error code

    0 = successfully loaded
    See also:
    subst() cgiwritetemplate()
    Description Copies an external text file to the system ramtext "ramtext". So the function complies with


    Additional to the normal text files you can specify also an URL which is achievable via the http protocoll.



    Here different substitutions are executed with SUBST and finally with CGIWRITETEMPLATE transmitted to the client.

    WHILE i++ <= MaxLabel(db) DO
      SUBST('#'+Label(db,i)+'#',db,i,1+4) // HTML and 
    at the end of // the line END CGIWriteTemplate

    Information: This little fragment of a program replaces all fields of a table including the memos.

    User comments:
    Write a comment:
    Text (Switch mode)

    Choose between
    the normal and the
    advanced editor.
    The advanced editor
    runs in IE 5+ and
    Mozilla 1.4+ only
    SPAM-Protection Please enter tdbengine in this field.

    tdbengine chat

       Copyright © 2003-2004 tdb Software Service GmbH
       Alle rechte vorbehalten. / All rights reserved
       Last changed: 21.10.2004
    {Fehler für :execmacro{execmacro="sessionspy"}