Search found 956 matches

by Janschenkel
Mon Mar 31, 2014 9:05 pm
Forum: Talking LiveCode
Topic: Using Quartam Reports
Replies: 13
Views: 12600

Re: Using Quartam Reports

The best way to load the report library and initialise it with your license key, is to add a handler such as the following to your project mainstack script: command LoadReportLibrary if "qrtreportslib" is not among the lines of the stacksInUse then start using stack "qrtreportslib" qrtReports_InitLi...
by Janschenkel
Wed Mar 26, 2014 12:53 pm
Forum: Talking LiveCode
Topic: Using Quartam Reports
Replies: 13
Views: 12600

Re: Using Quartam Reports

I'm going to need some more information in order to figure out what exactly isn't working for you.
Can we continue this conversation over at the Quartam Forums? http://forums.quartam.com

Thanks in advance,

Jan Schenkel.
by Janschenkel
Mon Jul 15, 2013 1:48 pm
Forum: Engine Contributors
Topic: LiveCode in C#
Replies: 6
Views: 7159

Re: LiveCode in C#

I've been researching the CLR Hosting API and its Mono equivalent, but haven't gone so far as to write a complete bridge external yet. And while I did write such an external bridge for the Java Virtual Machine (see my github repo ), I've put it on hold until the direction is clear of the Extensions/...
by Janschenkel
Mon Jul 15, 2013 5:17 am
Forum: Engine Contributors
Topic: LiveCode in C#
Replies: 6
Views: 7159

Re: LiveCode in C#

There are a couple of interesting links over at hypercard.org if you want to go down this route.
But it's going to be a big project and a lot of work before you'll have a complete parser and implementation of the more powerful concepts of xTalk.

Have fun!

Jan Schenkel.
by Janschenkel
Mon Jul 15, 2013 4:52 am
Forum: Engine Contributors
Topic: filter enhancements
Replies: 100
Views: 65389

Re: filter enhancements

Is there any reason with and without can't work? Well you have to differentiate the intent somehow at the syntax level. Maybe we'll have both 'where' and 'by' as synonyms, just like the pairs 'with'/'matching' and 'without'/'not matching' - so developers can write what best fits their coding style....
by Janschenkel
Sun Jul 14, 2013 9:20 pm
Forum: Engine Contributors
Topic: filter enhancements
Replies: 100
Views: 65389

Re: filter enhancements

Heh, I'm definitely not married to my originally proposed syntax - 'by' makes sense for the 'sort' command, but not so much for 'filter'... Just looked at the dictionary to refresh my memory, and we already have the 'mark' command which uses 'where' for its conditional clause. So I'll probably adopt...
by Janschenkel
Sun Jul 14, 2013 9:48 am
Forum: Engine Contributors
Topic: filter enhancements
Replies: 100
Views: 65389

Re: filter enhancements

Once I get around to implementing filter-map-reduce, you could use arbitrary boolean expressions in your filter script: filter theList by item 3 of each is "foo" or item 6 of each is "bar" filter theList by each begins with "baz" and each ends with "qux" filter theList by MyBooleanFunction(each) int...
by Janschenkel
Fri Jul 12, 2013 1:37 pm
Forum: Engine Contributors
Topic: android externals
Replies: 144
Views: 97080

Re: android externals

We ought to standardize on UTF-8 when crossing the boundaries from LiveCode to other technologies (be it C, Java or C#).
Or maybe the .lcidl definition could be expanded with an encoding clause at the same level as the use clauses?

Jan Schenkel.
by Janschenkel
Thu Jul 11, 2013 9:33 pm
Forum: Engine Contributors
Topic: android externals
Replies: 144
Views: 97080

Re: android externals

@monte Look at it this way: 'revdb' would be an 'interface' module, with multiple 'implementation' modules. The 'revdb' .lcidl file would describe the syntax for all 'revdb-driver' implementations. Now if I wanted to write a 'qrtjdbc' driver, its .lcmdl definition could be as short as implements rev...
by Janschenkel
Thu Jul 11, 2013 8:04 pm
Forum: Engine Contributors
Topic: filter enhancements
Replies: 100
Views: 65389

Re: filter enhancements

When I have the time, I'll see about implementing the filter-map-reduce triad that would allow you to filter the lines of a container by means of an expression that evaluates to true or false. But I have a long list of things to finish first.

Jan Schenkel.
by Janschenkel
Thu Jul 11, 2013 7:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to do a search for a directory or file runing on Windows
Replies: 15
Views: 10209

Re: How to do a search for a directory or file runing on Win

I guess Shao Sean got some languages mixed up :-) LiveCode uses an ampersand to concatenate strings.

Code: Select all

set the defaultFolder to ("\\10.2.260.2\messages\" & the text of field "firstField" & "\" & the text of field "secondField")
set the text of field "listOfFiles" to (the files)
HTH,

Jan Schenkel.
by Janschenkel
Thu Jul 11, 2013 8:51 am
Forum: Engine Contributors
Topic: android externals
Replies: 144
Views: 97080

Re: android externals

Heh, did I mention the word 'over-architecting' yet? :-)
Not every idea in this exchange is going to be implemented, the course is set out by RunRev. But we need to consider even the more outlandish ideas and weigh the complexity against the end result to have a solid solution.

Jan Schenkel.
by Janschenkel
Thu Jul 11, 2013 8:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to do a search for a directory or file runing on Windows
Replies: 15
Views: 10209

Re: How to do a search for a directory or file runing on Win

Hi Subas,

You can set the 'defaultFolder' global property to the actual directory where the files are, and then use the 'files' function to get a list of the files this directory contains. Then you can read each of those files individually and apply your search algorithm.

HTH,

Jan Schenkel.
by Janschenkel
Thu Jul 11, 2013 8:13 am
Forum: Engine Contributors
Topic: android externals
Replies: 144
Views: 97080

Re: android externals

At the risk of over-architecting, one could argue that an Extension is a collection of Modules, with one 'Interface' module and one or more 'Implementation' modules. The engine can then pick the best implementation module: native if available and java/c#/... otherwise. In fact, this approach would o...
by Janschenkel
Thu Jul 11, 2013 6:07 am
Forum: Engine Contributors
Topic: android externals
Replies: 144
Views: 97080

Re: android externals

@monte Placing an 'on platform use...' switch at every possible location is going to lead to errors that are easy to make and difficult to spot. I think a fundamental question is in order: - do we want mixed modules, where some commands/functions are implemented in native, some in java and others in...

Go to advanced search