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 ramtext_paste()
    Short Inserts the "ramtext:~clip" into another ramtext
    Syntax ramtext_paste(ramtext : STRING; startpos : INTEGER) : INTEGER
    Parameter ramtext : ramtext file name formatted like "ramtext:..."
    startpos: Position in ramtext where "ramtext:~clip" first character is to be inserted
    Return Number of characters of ramtext that have been moved while inserting "ramtext:~clip".
    See also:
    ramtext_copy() ramtext_delete() ramtext_insert()
    Description This function inserts the content of the system text file "ramtext:~clip" beginning at the position startpos.

    The return value is of low importance because it shows the number of chars that have been moved through the insert operation - it's (filesize - startpos). If it's value is 0 there are two reasons why the ramtext could not be inserted:

    * startpos was set to 0 (which is not allowed)
    * startpos was higher as the current file size +1

    This means startpos may only be of values from 1 (insert at the very beginning) to GetSize(ramtext) +1 (insert at the very end)

    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"}