Free2.max
(requested by new examples demo21 and later)

Functions list 
for v.5.6.2 (jan 3,2012)
Signature: DBFREE LIB 5.6.2 (c)2003-2012 G.Napolitano Build 2012-01-03
obtained by calling libVer()


These functions are available only by explicit calling library free2.max
# = experimental - may be removed in future versions
* = framework related - to be used with Polaris/Antartis
$ = unstable - avoid if you need maximum cross-compatibility

 EXTENDED functions
01:  fieldNum(cStr) 
02:  fieldList(xVal) 
03: getDbSet(cTable)

 free2max experimental functions
01: enableOdbc() #
02: enableClipper() #
03: enableFox() #
04: enableDbase() #


 DBFree functions
01:  openSlot(cFile) #
02:  Slot(xVal)  #
03:  freeSlot(cTarg) 
04:  initMax(cLibrary) # 
05:  listMem(memArray) 
06:  resetMax(xSessFile)  #
07:  default(Var, Value) $
08:  libVer() 
09:  listWebVars(aArr, nStyle) 
10:  callingpage() 
11:  passVars(aArr) *
12:  passFields(aArr) *

13:  keepVal( cStr, nLow, nHigh) 
14:  scriptName() 
15:  getAppVer() *
16:  here() 
17:  setDb(cDbPos) 
18:  setID(cTxt,cUsr,cGrp,cRole) 
19:  chkLogFile(cDbType) *
20:  logwrite( cMsg, cUsrName, cCodOp, cCargo, nTTime, cClass ) *

21:  curDataDir() 
22:  webRoot(lNoprot) 
23:  pageName() 
24:  webHome() 
25:  documentRoot(nStyle) 
26:  setSafe(cCode, xPost) *
27:  showSafe(cCode) *
28:  fileScan(cFile) 
29:  listFunc(cFile) 
30:  getSessFile(cDir) *
31:  libInfo(cLibPath,lVerbose) 


 ARRAYS functions
01:  WebVars2url(aArr, cExclude) *
02:  WebVars2Fields(aArr, cExclude) *

03:  aSize( MyArray ) 
04:  StrToNumArr(cStr, cSep, aaa) 
05:  StrToArr(cStr, cSep, aaa) 
06:  atos(aArray) 
07:  vector2str(aArr, cSep) 
08:  square2str(aArr, cSep, cDiv) 
09:  aGrow(aaa) 
10:  aadd(aaa, xVal) 
11:  aprint(aaa, cSep) 
12:  adimens( aaa) 

 DATES functions
01:  daysFrom( date1,date2) 
02:  daysOfM(date1) 
03:  nowstr() 
04:  timestamp( cParam ) 
05:  itDow(ddd, lFullname) 
06:  itDate(dDate, lFullname) 
07:  optMonthIt(dDate) 
08:  optDay(nDay) 
09:  optMonth(nMonth) 
10:  optYear(nYear, nDig) 
11:  chrDate(dDate) 
12:  itDateStr(dDate) 
13:  isLeapYear(dDate) 
14:  daysOfMonth(nMonth) 

 DBF functions
01:  ftype(fieldNum) 
02:  fieldType(fldNameorNum) 
03:  fieldlen(cField) 
04:  fieldsize(fldNameorNum) 
05:  fsize(nField) 
06:  fieldval(nFld) 
07:  fieldcount() 
08:  fieldfit(cFldname, xCargo) 
09:  dir( cLink ) 

 FILES functions
01:  getBytes(cFile,nStart,nBytes) 
02:  pageFile() 
03:  curDosDir(lNoDrive) 
04:  curDosPage() 
05:  dos2web(cFile) 
06:  web2dos(cFile) 
07:  subDir(cTxt) 
08:  upDir(cTxt) 
09:  web2java(cTxt) $
10:  curWebDir(full) 
11:  curWebPage() 
12:  curDrive() 
13:  fileDrive(cPathName) 
14:  FileNoDrive( cPathName) 
15:  fileclean(cFile) 
16:  FileBase( cFullFileName, noSlash ) 
17:  filefolder(cFullFileName ) 
18:  FileName( cFullFileName ) 
19:  FilePath( cFullFileName, lNoDrive ) 
20:  fileBone( cFile ) 
21:  fileExt(cFilename) 
22:  fileSource(cFile,nLineLen) 

 HTML functions
01:  printIni() 
02:  raiseError(cDb,cProc) 
03:  htm_tHead(aaa) 
04:  htm_tRow(aaa) 
05:  htm_Row() 
06:  htm_tCell(cStr) 
07:  htm_table(cOption) 
08:  htm_line() 
09:  htm_sheet(cStyleSheet) 
10:  htm_link(cURL,cParm,cMsg,cTarget) 
11:  optByDb(cTab,cFld) 
12:  displayRecord(nRec, nStyle) $
13:  editRecord( cUrl, aFieldsToDisplay) $
14:  saveRecord(nRec, aWebVarList ) $
15:  showMaster(aOfFlds) $
16:  showSlave(aOfFlds) $


 SESSIONS functions
01:  initSys()  #
02:  openDbSys()  #
03:  infoSys()  #
04:  openSession(cUsrName) 
 #
05:  deleteSession(cSessNo) 
 #
06:  getSession(cSessNo) 
 #
07:  saveSession(cSessNo,cCargo) 
 #

 STRINGS functions
01:  revStr(cStr) 
02:  include(cFil) 
03:  trimRight( cStr, nPos ) 
04:  trimLeft( cStr, nPos ) 
05:  cutAt( cString, cKey) 
06:  trimLeftAt(c1, c2) 
07:  trimRightAt(cString, cKey) 
08:  StripChars( cTxt ) 
09:  cleanUp( cVar ) 
10:  cleanStr( cVar ) 
11:  fChar( val ) 
12:  WordRight( cStr, cSep ) 
13:  WordLeft( cStr, cSep ) 
14:  padl( cString, nLength, cCaratt ) 
15:  padc( cString, nLength, cCaratt ) 
16:  padr( cString, nLength, cCaratt ) 
17:  Capital( cStr ) 
18:  fixSlash(cTxt) 
19:  rslash(cTxt) 
20:  noSpaces(cStr) 
21:  splitVal(cStr,nVal,cSep) 
22:  zz(aa) 
23:  wstr(nVal) 
24:  jslash(cTxt) 
25:  dblSlash(cTxt) 
26:  dslash(cTxt) 
27:  readIniVar(cFile,cVarname) 
***bug fixed
28:  writeIniVar(cFile1,cVar1,cValue1) 
29:  iniVar(cFile,cVarname)
 **bug fixed
30:  parseStr(cStr, cOpenTag, cCloseTag, cTokenTag )