Show
Ignore:
Timestamp:
14/08/09 16:29:27 (3 years ago)
Author:
westram
Message:
  • spellchecked all (phew)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/PERL2ARB/DOC.html

    r2273 r6141  
    5353                        ... 
    5454                ARB:commit_transaction($gb_main);       // everything is ok 
    55                 $error = ARB::save($gb_main,"new_db.arb", "a"); // save in ascii frmt 
     55                $error = ARB::save($gb_main,"new_db.arb", "a"); // save in ascii format 
    5656 
    5757        ***************************** END 1 ********************* 
     
    253253                a               ascii format 
    254254                b               binary format 
    255         Only if you have opened a database on a file your are allowd to 
     255        Only if you have opened a database on a file you are allowed to 
    256256        save it, otherwise the server has to do it. 
    257257        You may not change the path of the database, it is used 
     
    267267 
    268268$error = ARB::save_quick_as($gb_main,"new path"); 
    269         Fake an existing database by create a symbolik link and 
     269        Fake an existing database by create a symbolic link and 
    270270        then call ARB::save_quick 
    271271 
     
    287287        Increments an internal counter. If the counter was previously 
    288288        0 then calls begin_transaction. This is usefull when working 
    289         in a soubroutine and not knowing whether your calling funtion 
     289        in a subroutine and not knowing whether your calling function 
    290290        had opened a transaction already. 
    291291$error = ARB::pop_transaction($gb_main); 
     
    313313        search a database element if all keys are unique 
    314314 
    315 $gb_xxx = ARB::find($gb_start_sourch_point, "[key]", "[value]", 
     315$gb_xxx = ARB::find($gb_start_search_point, "[key]", "[value]", 
    316316        "search_mode" 
    317317 
     
    344344$val = ARB::read_bits($gb_xxx,char_0,char_1); 
    345345        convert a bit array into a string, 
    346         a '0' will be convertet into char_0 
     346        a '0' will be converted into char_0 
    347347        a '1' into char_1 
    348348 
     
    362362                                // char_0 will converted to 1 else 0 
    363363 
    364 $error = ARB::write_as_string($gb_xxx); try to interprete the value and 
     364$error = ARB::write_as_string($gb_xxx); try to interpret the value and 
    365365                                // convert it automatically to the right 
    366366                                // format 
     
    422422$error = ARB::set_temporary($gb_xxx); 
    423423        Marks a field in the database as a temporary field. 
    424         That means that this fiels is never saved to a file. 
     424        That means that this field is never saved to a file. 
    425425$error = ARB::clear_temporary($gb_xxx); 
    426426        Clears tmp flag 
     
    502502$time = ARB::last_saved_clock($gb_main); 
    503503        transaction number when the database was last saved 
    504         Can only be called from the server programm 
     504        Can only be called from the server program 
    505505 
    506506$time = ARB::last_saved_time($gb_main); 
     
    509509$error = ARB::set_cache_size($gb_main, "size_in_bytes"); 
    510510        ARB uses datacompression for long strings. If some strings 
    511         are used very intensivly the program bay slow down. 
     511        are used very intensely the program may slow down. 
    512512        Therefor a small cache is used and it's size can be set 
    513513        by this function. If you are working with sequences, a value