Anthony,

 I heave an idea that should help debugging the FreeCard code base and to
do some prototyping: We could compile the code into XCMDs/XFCNs which the
scripters on this list could then use. This would make it extremely easy
for any non-programmer, even for non-geeks to use them, as use is the best
way of testing it.

 I haven't succeeded writing a C++ XCMD yet, but we could work around this
by compiling the code into shared libraries and having the XCMDs call that.
For XBF, this might result in an xfcn like (NOTE THIS IS PURE FICTION RIGHT
NOW!):

 put xbf("fileNameToRef","hard disk:testfile.occ") into myFile
 put xbf("blockIDToRef",myFile,1) into myBlockRef
 put xbf("getSubBlock", myFile,myBlockRef,2) into subBlockRef
 put xbf("getdata", myFile,subBlockRef) into cd fld 1
 get xbf("closeFile",myFile)

to get sub-block ID 2 of block ID 1 in a file and write it into a field.
Not the easiest of uses and it'll be far from a user-friendly XFCN, but it
will be powerful and help a lot in debugging.

Cheers,
-- M. Uli Kusterer

------------------------------------------------------------
             http://www.weblayout.com/witness
       'The Witnesses of TeachText are everywhere...'

Reply via email to