Writing Extensions

Mark Wieder ahsoftware at sonic.net
Thu May 18 12:58:46 EDT 2017


It's not necessary to do any C++ (or any other language) coding to work 
with LCB.

One of the reasons for LCB's existence is to allow the language to be 
extended into linking with parts of the operating system where it can't 
currently reach, and in that sense knowledge of how to interact with the 
C++ or java or whatever libraries is essential. And much of LCB (strong 
variable typing, pointers, etc) exists for that purpose. And is 
necessary for those tasks.

But creating and working with extensions is (should be) otherwise almost 
like working in the familiar LCS environment. If you are creating a 
custom control you don't need any C++ ('canvas' isn't a C++ term, by the 
way) to do so.

My current struggles in dealing with the LCB are mainly in those areas 
where the LCS and LCB differ and the current documentation is not 
adequate to cover the differences.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list