Re: LiveCode for the rest of us

2015-09-21 Thread Brahmanathaswami
Yes, LC is a general construction tool kit, that said... *everything* you do in LC other than server side scripting occurs in a visual space... sure pure text code apps are possible (think PHP or Ruby) and all this LC builder, widget, text only stacks Git hub is exciting but the legacy

AW: AW: AW: Why is LC text blurred on a retina display?

2015-09-21 Thread Tiemo Hollmann TB
Thanks Mark and Jim for your suggestions. I will give both a try. Probably changing the file header exceeds my capabilities. Just reading a mov as binfile, replacing the text "Sorenson Video 3" and writing back a binfile is probably not enough. At least the quicktime player tells me that a part

Re: LiveCode for the rest of us

2015-09-21 Thread Brahmanathaswami
We appreciate everyone pointing out the plugins made some of these features, but i was trying to make a point: if someone opens LC for the first time... she won't be knowing anything about plug-ins for what she considers "standard layout engine" features.. FYI, we are abandoning Google apps

Re: SQL Select... the last 10 records from a table ?

2015-09-21 Thread Mark Schonewille
Because my solution isn't entirely satisfactory IMHO, I have asked a question on Stackoverflow. http://stackoverflow.com/questions/32705801/select-last-10-records-from-a-table-without-ordering-the-table -- Mark Schonewille http://economy-x-talk.com Buy the most extensive book on the LiveCode

Re: LiveCode for the rest of us

2015-09-21 Thread Roland Huettmann
Dear Mark, dear Brahmanathaswami, dear all Thank you very much for your comments. They stir more thinking... ) But if LC is not a graphics tool, not a database tool, not a network tool, what is it then? Is it a front-end tool to develop rich interface for various operating systems? How well

Re: Is it safe to return an array from a function?

2015-09-21 Thread Peter W A Wood
Thanks very much for the explanation Mark. Regards Peter > On 21 Sep 2015, at 16:52, Mark Waddingham wrote: > > Like numbers and strings, arrays are values so they are always (notionally) > copied whenever they move between locations. > > In 7+ this copying is deferred

Re: Is it safe to return an array from a function?

2015-09-21 Thread Peter W A Wood
Dave > On 21 Sep 2015, at 16:15, Dave Kilroy wrote: > > Hi Peter > > Your scary posting made me test on LC8.0(db4), LC7.0.1(rc2) and LC 6.7.6 - > and I'm relieved to say that the arrays performed impeccably (returning '3' > in the final line) > > Can you give us

Re: Is it safe to return an array from a function?

2015-09-21 Thread Dave Kilroy
Peter & Mark - hooray! :) - "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Is-it-safe-to-return-an-array-from-a-function-tp4696483p4696496.html Sent from the

Re: Mobile ftp

2015-09-21 Thread Matthias Rebbe | M-R-D
Hi John, please excuse. That was bullshit. I should have reread my answer before posting. Just replace file: with ftp:// in the examples. That should work. put tData into URL”ftp://HERCOMESTHEUSERNAME:herecomesthepassw...@ftp.mymftpserver.com ” Matthias

RE: Mobile ftp

2015-09-21 Thread John Dixon
Matthias... This is working for you on mobile ? > Subject: Re: Mobile ftp > From: matthias_livecode_150...@m-r-d.de > Date: Mon, 21 Sep 2015 15:16:45 +0200 > To: use-livecode@lists.runrev.com > > Hi John, > > to upload a file by ftp to an ftp server you need to add the username and >

Mobile ftp

2015-09-21 Thread John Dixon
In the iOS release notes it says... To upload a file to an FTP server you can use: put tData into url "ftp://ftp.myftpserver.com; Could someone flesh this out a little for me... I'm not getting it to work...

RE: Mobile ftp

2015-09-21 Thread Ralph DiMola
John, This works for me on mobile. put MyVar into url ("ftp://Username:=passw...@xyz.on-rev.com/somepath/filename.txt;) Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode

Re: Mobile ftp

2015-09-21 Thread Matthias Rebbe | M-R-D
Hi John, to upload a file by ftp to an ftp server you need to add the username and password to the put statement and also if the file is a ascii/text or a binary file E.g. put tData into URL”file:HERCOMESTHEUSERNAME:herecomesthepassw...@ftp.mymftpserver.com” this put a text/ascii file

Re: Need Help Throttling Downloads From an FTP Site

2015-09-21 Thread Jim Lambert
Whoops! That should be: on getNextFile if lListOfFilePaths = empty then exit getNextFile put line 1 of lListOfFilePaths into remoteFilePath delete line 1 of lListOfFilePaths —SET THE LOCAL FILE’S NAME HOWEVER YOU NORMALLY WOULD put whatever into

Re: Monitoring stdout on iOS simulator

2015-09-21 Thread J. Landman Gay
On 9/21/2015 3:43 PM, Chris Sheffield wrote: Hi Jacque, Xcode now has a “console” built into it, that I’m pretty sure still works with LiveCodes “put” command. With your device plugged in, fire up a recent version of Xcode, select the device in the Devices window, then click the little triangle

Re: Monitoring stdout on iOS simulator

2015-09-21 Thread panagiotis merakos
Hi Jacque, It is possible to see the output in the simulator. If I remember correctly, you can do: Launch iOS Simulator -> Menu Bar -> Debug -> Open System Log Regards, Panos -- On Tue, Sep 22, 2015 at 1:36 AM, J. Landman Gay wrote: > On 9/21/2015 3:43 PM, Chris

Valentina 6 Platform Released; Notifications, SQLite Server & ADK for LiveCode

2015-09-21 Thread Lynn Fredricks
Hi all, If you've been working with SQLite as a database platform, you'll be interested in our new support for SQLite. Paradigma Software has released Valentina Studio 6, Valentina Server 6 and updated ADKs for LiveCode. Valentina Server 6 is available as a standalone product, but its possible

Re: Need Help Throttling Downloads From an FTP Site

2015-09-21 Thread Jim Lambert
Gregory, Try this (untested): local lListOfFilePaths on downloadAll put theListofFiles into lListOfFilePaths getnextFile end repeat on getNextFile if lListOfFilePaths = empty then exit getNextFile put line 1 of lListOfFilePaths into remoteFilePath

Re: Need Help Throttling Downloads From an FTP Site

2015-09-21 Thread Scott Rossi
How large are the files you're retrieving? If the script below is your actual script, you might try allowing some execution time in the loop: repeat with each line remoteFilePath in listOfFilePaths -- set new localFileName is set before the download request is made put url

Re: Monitoring stdout on iOS simulator

2015-09-21 Thread J. Landman Gay
On 9/21/2015 5:50 PM, panagiotis merakos wrote: It is possible to see the output in the simulator. If I remember correctly, you can do: Launch iOS Simulator -> Menu Bar -> Debug -> Open System Log Thank you! Yes, it does work. In the past it was possible to just launch Console and choose

Re: Need Help Throttling Downloads From an FTP Site

2015-09-21 Thread Bob Sneidar
FTP has been called the misbehaving child of networking, and I'm being kind. While other protocols play nicely on a network, not grabbing all the bandwidth they can and refusing to throttle down when needed, FTP generally does the opposite. FTP will try to commandeer all the bandwidth your

Re: SQL Select... the last 10 records from a table ?

2015-09-21 Thread Mark Schonewille
Hi John, If you have a date, timestamp or ID number in your table, you can use the following query. SELECT * FROM main ORDER BY date DESC LIMIT 10 Replace date with the column containing the date, timestamp or ID number. If the date field hasn't been defined as a date, you may need to wrap

RE: Mobile ftp

2015-09-21 Thread John Dixon
Matthias and Ralph... Thanks to both of you for getting me on the right path... eventually, I have got it to work ... :-) but for a little while earlier this afternoon my mac nearly went out of the window Dixie > From: rdim...@evergreeninfo.net > To: use-livecode@lists.runrev.com > Subject:

RE: Mobile ftp

2015-09-21 Thread Ralph DiMola
No it's just a variable. You could: put url ("File:"& specialFolderPath("documents") & slash & "MyFile.txt") into MyVar put MyVar into url("ftp://Username:=passw...@xyz.on-rev.com/somepath/filename.txt;) or put it in one line: put url ("File:"& specialFolderPath("documents") & slash &

Re: Mobile ftp

2015-09-21 Thread Matthias Rebbe | M-R-D
> Am 21.09.2015 um 17:25 schrieb John Dixon : > > Matthias and Ralph... > > Thanks to both of you for getting me on the right path... eventually, I have > got it to work ... :-) but for a little while earlier this afternoon my mac > nearly went out of the window

Re: SQL Select... the last 10 records from a table ?

2015-09-21 Thread Bob Sneidar
Inverse sort, limit 10 Bob S > On Sep 20, 2015, at 05:59 , John Dixon wrote: > > I understand how to select, say the top 10 records in a table... What would > the best way to select the last 10 records from a table ? > >

Re: LiveCode for the rest of us

2015-09-21 Thread J. Landman Gay
At least some of the things you mention are already there, but are easy to miss. On 9/21/2015 1:57 AM, Brahmanathaswami wrote: -- still futzing with getting the label of a button to center See the new "iconGravity" property. -- Oh... ouch, the color picker is giving me wrong RGB values

Introducing LiveCode's New Feature Exchange Platform

2015-09-21 Thread Jana Doughty
Hi All, We have a new platform we're launching today! You can read all about it and its the new feature opportunities here: https://livecode.com/introducing-new-feature-exchange-platform/ Thanks! Jana ___ use-livecode mailing list

RE: Mobile ftp

2015-09-21 Thread John Dixon
Ralph... In your example is myVar the path to a file ? > From: rdim...@evergreeninfo.net > To: use-livecode@lists.runrev.com > Subject: RE: Mobile ftp > Date: Mon, 21 Sep 2015 09:55:59 -0400 > > John, > > This works for me on mobile. > > put MyVar into url >

RE: Mobile ftp TYPO

2015-09-21 Thread Ralph DiMola
Correction==>THERE IS NO "=" before the password. Just a ":" between the username and password. It was a cut/paste snafu. Also as Matthias said use "binfile:" not "file:" form for binary data. No it's just a variable. You could: put url ("File:"& specialFolderPath("documents") & slash &

Re: Mobile ftp

2015-09-21 Thread Matthias Rebbe | M-R-D
If you want to upload a file then you have to use put URL myvar into URL “ftp://…..; where myvar contains the the path to a file and as prefix file: or binfile: e.g. binfile:c:/users/matthias/documents/test.jpg > Am 21.09.2015 um 16:10 schrieb John Dixon : > >

Monitoring stdout on iOS simulator

2015-09-21 Thread J. Landman Gay
Way back when, we used to be able to see output from the iOS simulator by watching the Mac Console app. That stopped working some time ago. Is it possible to view stdout from the simulator any more? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Re: Monitoring stdout on iOS simulator

2015-09-21 Thread Chris Sheffield
Hi Jacque, Xcode now has a “console” built into it, that I’m pretty sure still works with LiveCodes “put” command. With your device plugged in, fire up a recent version of Xcode, select the device in the Devices window, then click the little triangle icon to the right of the Filter field. That

Re: LiveCode for the rest of us

2015-09-21 Thread BNig
> -- Oh where can I set the design grid unit values? Oh, no grids? > -- where is my hide and show design grid? Oh right.. no grids... > -- Oh, where do I turn on "snap to grid" Oops right... no grid... but > this is 2015! In addition to what Jaque said (that you can set it via preferencese

Re: Introducing LiveCode's New Feature Exchange Platform

2015-09-21 Thread Bob Sneidar
Interesting... > On Sep 21, 2015, at 09:11 , Jana Doughty wrote: > > Hi All, > > We have a new platform we're launching today! You can read all about it > and its the new feature opportunities here: > https://livecode.com/introducing-new-feature-exchange-platform/ >

Need Help Throttling Downloads From an FTP Site

2015-09-21 Thread Gregory Lypny
Hello everyone, I posted about this a while back but am still having trouble. I need to download thousands of files from the Security and Exchange Commission's website. Access is through anonymous FTP with "anonymous" as the username and my email address as the password. I've been using Put in

Re: LiveCode for the rest of us

2015-09-21 Thread Bob Sneidar
Someone wrote a plugin to address this. Bob S On Sep 21, 2015, at 10:41 , J. Landman Gay > wrote: -- Oh where can I set the design grid unit values? Oh, no grids? > -- where is my hide and show design grid? Oh right.. no grids... > --

Re: Is it safe to return an array from a function?

2015-09-21 Thread Mark Waddingham
Like numbers and strings, arrays are values so they are always (notionally) copied whenever they move between locations. In 7+ this copying is deferred until needed (copy-on-write), prior to 7 they are copied immediately. So, yes, you can pass arrays around without worry. Mark. Sent from my

Re: Is it safe to return an array from a function?

2015-09-21 Thread Dave Kilroy
Peter - looking at your post again makes me think your 'returns 2' must have been a typo (phew) - let me know if not... Page 8 of the Release Notes for LC 7.0.0(rc2) states: > Array element pass by reference (7.0.0-rc-2) > > It is now possible to pass parts of an array by reference. For

Re: Is it safe to return an array from a function?

2015-09-21 Thread Dave Kilroy
Hi Peter Your scary posting made me test on LC8.0(db4), LC7.0.1(rc2) and LC 6.7.6 - and I'm relieved to say that the arrays performed impeccably (returning '3' in the final line) Can you give us some more info on your setup and anything else that could be conspiring to give you '2' instead of 3?

[ANN] This Week in LiveCode - new open source newsletter

2015-09-21 Thread Peter TB Brett
Hi all, Read all about new developments in LiveCode open source and the open source community in the new "This Week in LiveCode" newsletter! Read the first issue here: https://goo.gl/7U0xGB This is a new, weekly newsletter about LiveCode, focussing on what's been going on in and around