Recent Changes

Sunday, November 19

  1. page Libraries edited ... CLASSLIB - Support for Object Classes (includes examples of use) COMLIB - Accessing COM autom…
    ...
    CLASSLIB - Support for Object Classes (includes examples of use)
    COMLIB - Accessing COM automation (ActiveX) controls
    D3DLIB - Direct3DDirect3D8 graphics
    D3DLIBA - Direct3D8 graphics (with additional camera roll-angle parameter)
    D3D9LIB - Direct3D9 graphics
    D3D9LIBA - Direct3D9 graphics (with additional camera roll-angle parameter)

    DATELIB - Calendar functions
    ELLIPSE - Plotting angled ellipses
    ...
    CardLib - Jon Ripley
    CardLib provides an interface to the Windows cards library used by all the card games supplied with Windows.
    D3DLIBA - Richard Russell
    As D3DLIB except that PROC_render takes an additional parameter corresponding to camera 'roll angle'. May be useful for flight-simulator type applications.
    D3D9LIB - Richard Russell
    Functionally equivalent to D3DLIB but uses DirectX 9 rather than DirectX 8.
    D3D9LIBA - Richard Russell
    Functionally equivalent to D3DLIBA but uses DirectX 9 rather than DirectX 8.

    Date - J.G.Harston
    The Date library provides functions for converting dates between a 5-byte centi-second count and real-world date and time values. It replicates the functionality of the RISC OS SWIs Territory_ConvertOrdinalsToTime and Territory_ConvertDateAndTime.
    ...
    MAlloc - J.G.Harston
    Memory allocation library (using BBC BASIC's heap). Provides functions for memory allocation, reallocation and freeing.
    ODBCLIB - Richard Russell
    Supports accessing an ODBC-compliant database (for example SQLite) . The Zip file include a test/demonstration program illustrating its use.

    ONCOMLIB - Richard Russell
    Provides an ON COM style facility which will call a specified procedure if an event occurs on a serial communications port.
    (view changes)
    3:23 pm

Thursday, October 26

Wednesday, October 4

Tuesday, May 30

Wednesday, April 26

  1. page Component Object Model programming edited ... So how does this all work at a technical level? Read about that here on MSDN. It’s not an easy…
    ...
    So how does this all work at a technical level? Read about that here on MSDN. It’s not an easy read.
    Caution: Direct use of variables in compiled programs
    ...
    be generated. If you switch the "abbreviate names" option off then you avoid the problem and can skip the rest of this paragraph.
    PROC_putvalue(XlNewSheet%, "cells(row%,col%).value("""+data$+""")")
    PROC_putvalue(Xlapp%, "Selection.value(data%)")
    ...
    REM!Keep vobj%
    PROC_putobject(tts%, "Voice(O vobj%)")
    Alternatively theA similar problem can arise if a static integer variable (A% to Z%) is passed in a parameter string. In this case the issue is that the specified variable may be manipulated byused internally to the COMLIB library (for example as a cunning splitting up into sub-stringsLOCAL or PRIVATE variable, or as a formal parameter) in which case it will be the value of that internal variable that does leaveis used rather than the variables exposed tovalue intended. Both problems may be eliminated by replacing the crunching engine such as:variable references in the supplied parameter string with their numeric values. For example:
    PROC_putvalue(XlNewSheet%, "cells("+STR$row%+","+STR$col%+").value("""+data$+""")")
    PROC_putvalue(Xlapp%, "Selection.value("+STR$data%+")")
    (view changes)
    7:22 am

Tuesday, April 18

Tuesday, April 4

  1. msg Excel message posted Excel Excel mangles data fields that look like anything it can convert into an internal numerical format.…
    Excel
    Excel mangles data fields that look like anything it can convert into an internal numerical format. I've updated the BeebWiki article (http://beebwiki.mdfs.net/CSV_file_reading_and_writing) with code to deal with this that I've evolved in my census processing code. I'm working on a version of this code with similar functionality.
    5:29 pm

More