#----------------------------
#
#????
#
# ????DLL ???????????
#??2006?????
#----------------------------
# ???? extdll.dll???????????? .
extern int Min(int x??int y);
extern int Max(int x??int y);
static z;
# ?????extdll.dll.
function init_dll(lib_path)
{
load_dll (lib_path & "\extdll.dll");
return(E_OK);
}
# ???? extdll.dll
init_dll("g:\out");
# ?????????l
z = Min(3??5);
pause(z);
# ??? extdll.dll
unload_dll("g:\out\extdll.dll");
# ?????????????
db_connect("query1"??"DSN=pw");
# ??в??
db_execute_query ("query1"??"SELECT * FROM AS_folders"??record_number);
val = db_get_field_value("query1"??"#1"??"#2");
pause(val);
# ?????
db_get_row("query1"??5??row_content);
#split(row_content?? line_arr?? " ");
pause(row_content);
# ??????
db_get_headers ("query1"??field_num??headers);
pause(field_num);
pause(headers);
#д???????????
db_write_records("query1"??"G:\query1.txt"??TRUE?? NO_LIMIT);
# ??????
file_compare("g:\w.txt"??"g:\w1.txt"??"save");