LCB Woes
Pi Digital
sean at pidigital.co.uk
Thu Apr 12 22:37:20 EDT 2018
Why on earth would you have to type them? Why not for loop them or copy-paste or get LC to give you a 1024 char string of them you can copy-paste in? Odd.
LCB is very much in its youth especially for java and objc. We have only the bare minimum of examples and tutorials and documentation of course. Building a library is very similar to widgets with the exception that they are not linked to a gui control or display. So they just handle calls and functions but don’t have an object/control on the card and thus no property dialogue either. The examples for widgets work practically the same for a library. But there will be occasional differences you’ll come across as you go. No doubt Ali will be providing some more info on these in time. But start digging into it now. I’m still playing around trying to make some libraries of my own - simple ones to start with.
All the best.
Sean Cole
Pi Digital
> On 13 Apr 2018, at 03:04, Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
>
>> On 04/12/2018 06:03 PM, Brian Milby via use-livecode wrote:
>> What language is the library written in? Which platform? I have some code
>> that I’ve started to put together for libSodium, but I have not done much
>> more than reference the calls.
>
> Interesting. I started down the libSodium path and gave it up when I found that I had to create a struct with 1024 individual byte references for an embedded buffer. There really should be a way to specify a number so you don't have to type 1024 "h" characters in a row.
>
> --
> Mark Wieder
> ahsoftware at gmail.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list