Re: Shell - argv parameter with SPACE

2017-06-24 Thread JB via use-livecode
THANK YOU! JB > On Jun 24, 2017, at 9:05 PM, Richard Gaskin via use-livecode > wrote: > > JB wrote: >> I really did not use the shell command before I started posting >> the c and java code. >> >> I was starting to learn Python and would love to know hoe to >>

Re: Shell - argv parameter with SPACE

2017-06-24 Thread Richard Gaskin via use-livecode
JB wrote: I really did not use the shell command before I started posting the c and java code. I was starting to learn Python and would love to know hoe to use the shell to integrate it into Livecode stacks. In fact I would love any shell examples! Here's a quickie off the top of my head

Re: Shell - argv parameter with SPACE

2017-06-24 Thread JB via use-livecode
I really did not use the shell command before I started posting the c and java code. I was starting to learn Python and would love to know hoe to use the shell to integrate it into Livecode stacks. In fact I would love any shell examples! JB > On Jun 24, 2017, at 8:25 PM, Richard Gaskin via

Re: Shell - argv parameter with SPACE

2017-06-24 Thread Richard Gaskin via use-livecode
JB wrote: ... What the code provided does it it gives you the ability to use c, c++, objective-c, and Java code in your Livecode stacks. For those who have a basic understanding of any of these languages there is a lot of code on the web they can use with little of no changes giving them a lot

Re: Shell - argv parameter with SPACE

2017-06-24 Thread JB via use-livecode
Hi Richard, There are plenty of free compilers. Xcode will compile c, c++, and objective-c. To compile from the terminal you can use gcc which is a really good compiler. What the code provided does it it gives you the ability to use c, c++, objective-c, and Java code in your Livecode stacks.

Re: Shell - argv parameter with SPACE

2017-06-24 Thread Richard Gaskin via use-livecode
JB, a few of these snippets have been posted to the list, but with no explanatory text. Were these intended for someone else? If you meant to send them here, for the benefit of those of us who may not have ready access to an Objective-C compiler, would you mind offering some description of

Shell - argv parameter with SPACE

2017-06-24 Thread JB via use-livecode
on mouseUp set the defaultFolder to "~/Desktop" /* ADD SPACES IN ARGUMENTS BY USING QUOTE */ --put "One" into tFILE1 // Below I added a space in the filename before the word copy. put quote & "/Users/JB/Desktop/SomeFile copy.jpg" & quote into tFILE1 put "Two" into tFILE2

Shell - C++

2017-06-24 Thread JB via use-livecode
Compile the following C++ code as argv_c++ #include // When passing char arrays as parameters they must be pointers int main(int argc, char* argv[]) { if (argc < 5) { // Check the value of argc. If not enough parameters have been passed, inform user and exit. std::cout << "Usage:

Re: ListMagic still available?

2017-06-24 Thread Robert Brenstein via use-livecode
I managed to get in touch with Eric’s son at the time and offered to support and develop it further, but nothing came out of it, so consider ListMagic a history. On 24 Jun 2017, at 1:50, Bob Sneidar via use-livecode wrote: Thanks Matthias. I was hoping someone picked it up. It really is a

Shell - objective-c NSString

2017-06-24 Thread JB via use-livecode
Compile the following objective-c code as argv_nsstring-1 #import int main(int argc, const char * argv[]) { @autoreleasepool { NSString *arg1 = [NSString stringWithUTF8String:argv[1]]; NSString *arg2 = [NSString stringWithUTF8String:argv[2]]; NSString *arg3 =

Re: Feature Race: Pick Your Project

2017-06-24 Thread Sannyasin Brahmanathaswami via use-livecode
I had similar feelings, (I have taken almost every pitch to "pay in advance for X number of years for this discount or that… ) so when we get hit up again for development that one would hope would be just part of the product road map, it does indeed seem odd. Even "advanced smooth scrolling

Re: How do we access the clipboard on mobile devices?

2017-06-24 Thread Jonathan Lynch via use-livecode
Does that mean I could put the text to be copied into a native field, then put into the clipboard from there? Sent from my iPhone > On Jun 24, 2017, at 4:46 PM, J. Landman Gay via use-livecode > wrote: > >> On 6/24/17 2:03 PM, Jonathan Lynch via use-livecode

Re: How do we access the clipboard on mobile devices?

2017-06-24 Thread J. Landman Gay via use-livecode
On 6/24/17 2:03 PM, Jonathan Lynch via use-livecode wrote: I cannot figure it out from the docs The clipboard isn't supported in LC fields on mobile. To get full clipboard support you need to use a native field. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive

RE: Trouble with Building from g8.1.5 rc1 for Early Version iOS

2017-06-24 Thread Ralph DiMola via use-livecode
I sometimes get that error on the first build with any minimum version. Subsequent builds work OK until LC is restarted. Try setting it back to 6.1 and build, if it fails build again and it should be OK. This has been reported but is elusive. Ralph DiMola IT Director Evergreen Information

Shell - objective-c

2017-06-24 Thread JB via use-livecode
Compile the following objective-c code as argv_objective_c #import int main(int argc, const char * argv[]) { @autoreleasepool { NSLog(@"\nArgument 1: %s\n", argv[1]); NSLog(@"\nArgument 2: %s\n", argv[2]); NSLog(@"\nArgument 3: %s\n", argv[3]); } return

Trouble with Building from g8.1.5 rc1 for Early Version iOS

2017-06-24 Thread Sannyasin Brahmanathaswami via use-livecode
LC: 8.1.5 rc1 xCode: 8.3.3 I had the lowest version set to iOS 6.1 xCode balked and LC error repor dialog shows up, saying app build failed because all these files/libs (many lines in the SA dialog) were for 10.3 OK so I went back into SA settings pick "10.3 or later" and the build went

Re: Inconsistent comma requirements

2017-06-24 Thread Richmond Mathewson via use-livecode
Livecode claims that it's programming langauge is English-like (i.e. like a human language); well it just got more like that: human languages are incredibly inconsistent. Richmond. On 6/24/17 10:59 pm, hh via use-livecode wrote: Here's to all who didn't ignore the wonderful LC lessons for

Re: Inconsistent comma requirements

2017-06-24 Thread hh via use-livecode
Here's to all who didn't ignore the wonderful LC lessons for years! on mouseUp I end mouseUp on I don't care answer I'm ("fan of it.") end I function I'm fan return "Beautiful LiveCode! I'm " & fan end I'm ___ use-livecode mailing list

Re: Set the imagesource of a character to a built in graphic

2017-06-24 Thread J. Landman Gay via use-livecode
On 6/24/17 6:12 AM, Mark Waddingham via use-livecode wrote: There's a form of replace which preserves styling in fields these days (an FE we ran quite a while ago) - take a look at the replace entry in the dictionary. That's great! I must have missed that revision. Very useful. -- Jacqueline

How do we access the clipboard on mobile devices?

2017-06-24 Thread Jonathan Lynch via use-livecode
I cannot figure it out from the docs Sent from my iPhone ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Creating installers when packaging a Levure application

2017-06-24 Thread Trevor DeVore via use-livecode
On Sat, Jun 24, 2017 at 12:41 PM William Prothero via use-livecode < use-livecode@lists.runrev.com> wrote: > Trevore: > I looked at the helper video and noted the yml file for each helper. > However, I didn’t know where to add those lines to the main app yml file. > But, I will take another look

Re: Feature Race: Pick Your Project

2017-06-24 Thread Mark Wieder via use-livecode
On 06/24/2017 10:41 AM, Alex Tweedly via use-livecode wrote: I have a hard time voting for, or funding, Hosting debugger. I already paid for that, back in 2009. It was a feature described in, and mostly present in, the first release of on-rev. It was a significant part of my decision to buy a

Re: Inconsistent comma requirements

2017-06-24 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: > On 24/06/2017 16:37, Richard Gaskin via use-livecode wrote: >> On the other hand, perhaps a rule could be introduced that any >> keywords used in arg strings with no commas when calling a custom >> handler are treated as literal text. > NO, please not. > > Just think of the

Re: Feature Race: Pick Your Project

2017-06-24 Thread Alex Tweedly via use-livecode
So the Feature Race lets me choose between "Hosting debugger" and Datagrid 2. Hmpphhh! I have a hard time voting for, or funding, Hosting debugger. I already paid for that, back in 2009. It was a feature described in, and mostly present in, the first release of on-rev. It was a significant

Re: Creating installers when packaging a Levure application

2017-06-24 Thread William Prothero via use-livecode
Trevore: I looked at the helper video and noted the yml file for each helper. However, I didn’t know where to add those lines to the main app yml file. But, I will take another look at the documentation and see if I have overlooked something. Bill > On Jun 23, 2017, at 4:48 PM, Trevor DeVore

Re: Inconsistent comma requirements

2017-06-24 Thread Alex Tweedly via use-livecode
On 24/06/2017 16:37, Richard Gaskin via use-livecode wrote: Two questions: How many of you have never before known that commas are optional between definition arguments? For those who've known about this, were you confused to discover that this only works for definitions but not calls?

RE: Inconsistent comma requirements

2017-06-24 Thread Ralph DiMola via use-livecode
I have had several of these typos in the past and they never caused problems. In the example below pParam is argument 1. The comma is ignored. command test, pParam answer pParam end test The parser is much better in v8 but could still be tightened up a bit. An example is extraneous closing

Re: Inconsistent comma requirements

2017-06-24 Thread Paul Dupuis via use-livecode
On 6/24/2017 11:37 AM, Richard Gaskin via use-livecode wrote: > Two questions: > > How many of you have never before known that commas are optional > between definition arguments? I discovered this in LC6.7.11 only about 2 months ago and was very surprised. I had expected that separating

Re: Inconsistent comma requirements

2017-06-24 Thread J. Landman Gay via use-livecode
On June 24, 2017 11:36:32 AM Richard Gaskin via use-livecode wrote: It was just odd to find something so fundamental to the language that I'd never seen before in all my years with LC. And apparently there are at least two of us. Three. -- Jacqueline Landman

Re: Inconsistent comma requirements

2017-06-24 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: > On 06/24/2017 08:37 AM, Richard Gaskin via use-livecode wrote: > >>DoSomething with a and b >> >> Two questions: >> >> How many of you have never before known that commas are optional >> between definition arguments? > > > > However, I don't think that particular

Re: Inconsistent comma requirements

2017-06-24 Thread Mark Wieder via use-livecode
On 06/24/2017 08:37 AM, Richard Gaskin via use-livecode wrote: DoSomething with a and b Two questions: How many of you have never before known that commas are optional between definition arguments? However, I don't think that particular syntactic sugar, at least, would work. The

Inconsistent comma requirements

2017-06-24 Thread Richard Gaskin via use-livecode
Apparently commas are optional in a handler definition, e.g.: on DoSomething a b But they are not optional when passing arguments to a definition, e.g.: Doomething a b ...throws a compilation error, but this: DoSomething a,b ...works. Because most languages require commas

Re: Docs for IDE hooks

2017-06-24 Thread Mark Wieder via use-livecode
On 06/24/2017 02:58 AM, AndyP via use-livecode wrote: Hi Richard, Thanks for pointing this out. Do you know if there is an updated full list of messages one can subscribe to? I've looked in the dictionary and searching for subscribe and publish does not bring up any info? At the moment there's

Re: Set the imagesource of a character to a built in graphic

2017-06-24 Thread Mark Waddingham via use-livecode
There's a form of replace which preserves styling in fields these days (an FE we ran quite a while ago) - take a look at the replace entry in the dictionary. Warmest Regards, Mark Sent from my iPhone > On 24 Jun 2017, at 07:14, J. Landman Gay via use-livecode >

Re: Docs for IDE hooks

2017-06-24 Thread AndyP via use-livecode
Hi Richard, Thanks for pointing this out. Do you know if there is an updated full list of messages one can subscribe to? I've looked in the dictionary and searching for subscribe and publish does not bring up any info? - Andy Piddock My software never has bugs. It just develops random

Re: Release 9.0.0 DP7 / SVG / The book of the film of the poem

2017-06-24 Thread Frans Schoffelen via use-livecode
> On 23 Jun 2017, at 19:24, use-livecode-requ...@lists.runrev.com wrote: > > > On 2017-06-23 14:36, Frans Schoffelen via use-livecode wrote: >> Progress! But still not quite there yet. >> Picture link of screenshot : >> https://www.dropbox.com/s/b867mchlhyoornz/SVG.af-SVG-LC.png?dl=0 >>

Re: ListMagic still available?

2017-06-24 Thread Mark Wieder via use-livecode
On 06/23/2017 04:50 PM, Bob Sneidar via use-livecode wrote: Thanks Matthias. I was hoping someone picked it up. It really is a nice piece of work. I will research to see if Jim is still able to be contacted. Unfortunately, Jim is also not with us. -- Mark Wieder ahsoftw...@gmail.com

Re: Set the imagesource of a character to a built in graphic

2017-06-24 Thread J. Landman Gay via use-livecode
On 6/23/17 6:48 PM, Bob Sneidar via use-livecode wrote: Okay so here is an odd thing. Given that the imageSource of char 1 of eack line of a scrolling field is set to a graphic (A plus sign in this case): on selectionChanged put the clickChar into tChar if tText is not space then exit