Re: 8 ball

2015-01-27 Thread Phil Davis
From Ben's post: "... it lets you hook into platform APIs without having to write any native code or modify the source code of LiveCode." With due respect to widgets, THAT'S what I'm waiting for! Phil On 1/27/15 5:03 PM, Andrew Kluthe wrote: Some code snippets of how each were accomplished

Re: Invisible character treated as word?

2015-01-27 Thread JB
That should have been put after tCleanText > repeat with x = 1 to number of chars in pText > if char x of pText is in tList then put char x of pText in tCleanText > end repeat On Jan 27, 2015, at 7:28 PM, JB wrote: > > On Jan 27, 2015, at 6:46 PM, Kay C Lan wrote: > >> >> My suggested so

Re: Invisible character treated as word?

2015-01-27 Thread JB
On Jan 27, 2015, at 6:46 PM, Kay C Lan wrote: > > My suggested solution is where ever the data originally came from, prior to > inputting into your fields, variables or custom properties, it should be > tested to confirm that the data only contains ASCII chars 48 to 57 (unless > you include tho

Re: Invisible character treated as word?

2015-01-27 Thread Kay C Lan
On Wed, Jan 28, 2015 at 9:11 AM, David Epstein wrote: > > Are there other characters that are always or sometimes invisible that > cause the same problem? And what is a remedy? > Many thanks. > In the multi-line msg box: put empty into msg repeat with x = 0 to 255 put x & " = " & numToChar(x)

Re: IP Calculator Final Version

2015-01-27 Thread Mark Wieder
Alex- Tuesday, January 27, 2015, 1:59:44 PM, you wrote: >> As far as the CIDR depth, it is true that technically you can >> have a CIDR of 32, but it is not a network that can be used. > It can't be used as a network - but it can be used in specifying a route > to a network (i.e. to a single host

RE: Invisible character treated as word?

2015-01-27 Thread Ralph DiMola
A non-breaking space(160) is respected in LC as a word delimiter. But the 202 is just another character. In the standard extended ascii table this is a │ character In other character sets is might be displayed as a space or just invisible. This would be part of the word it's adjacent to. GIGO. If s

Invisible character treated as word?

2015-01-27 Thread David Epstein
For a tab-delimited table of numbers, I want to be sure that none of the numbers is surrounded by invisible spaces that will interfere with using the numbers in calculation. I do that by overwriting each cell with "word 1 to -1 of" that cell. This generally works fine, but was tripped up by a c

Re: 8 ball

2015-01-27 Thread Andrew Kluthe
Some code snippets of how each were accomplished to preview the usage would go a long way to making this interesting. In the past we have gotten short screencasts demonstrating how simple it is to accomplish something using a particular up and coming feature. On Tue, Jan 27, 2015 at 4:01 PM, Bob S

Re: IP Calculator Final Version

2015-01-27 Thread Alex Tweedly
On 27/01/2015 23:53, Ralph DiMola wrote: I wrote the OS for a custom computer for solving the 3d solution of the FA-18 Flight Simulator back in the 80's. I had to write the floating point input/display routines. I was very proud how I anticipated all the combos for FP input. 1.0/1/1e10/.0005 e-20

RE: IP Calculator Final Version

2015-01-27 Thread Ralph DiMola
I wrote the OS for a custom computer for solving the 3d solution of the FA-18 Flight Simulator back in the 80's. I had to write the floating point input/display routines. I was very proud how I anticipated all the combos for FP input. 1.0/1/1e10/.0005 e-20/0.0005/-55/1.125 e0 and all the other(so I

Re: IP Calculator Final Version

2015-01-27 Thread Bob Sneidar
Hi Alex. Thanks for testing this for me and your input. Here is an updated function that accounts for any non-numerical octets and expands the limits of the CIDR to 0-32. Also, if the IP or the CIDR ends in any number of periods it returns an error. I have made the same check for subnet masks.

Re: 8 ball

2015-01-27 Thread Bob Sneidar
I can think of 3 or 4 widgets right now that I could convert bits of existing projects into. Bob S > On Jan 27, 2015, at 13:02 , Richmond wrote: > > Wow: > > http://livecode.com/blog/2015/01/27/8reasonstotalklivecode8/ > > Richmond. > > ___ > us

Re: IP Calculator Final Version

2015-01-27 Thread Alex Tweedly
On 27/01/2015 00:22, Bob Sneidar wrote: Oh thanks Alex I will check for those. I though they would be covered in the part that checks that each octet is a number between 0 and 255. As far as the CIDR depth, it is true that technically you can have a CIDR of 32, but it is not a network that can

Re: Unicode

2015-01-27 Thread Devin Asay
On Jan 27, 2015, at 2:03 PM, Peter Haworth wrote: > Another quick question Devin. Pre 7, you have to address the unicodeText > property of an object to do this. > > ]If I have a variable/custom property whose contents are unidecoded, how > can I uniencode it into another variable since it has

Re: Unicode

2015-01-27 Thread Peter Haworth
Another quick question Devin. Pre 7, you have to address the unicodeText property of an object to do this. ]If I have a variable/custom property whose contents are unidecoded, how can I uniencode it into another variable since it has no unicodeText property? Seems like I would need a hidden file

8 ball

2015-01-27 Thread Richmond
Wow: http://livecode.com/blog/2015/01/27/8reasonstotalklivecode8/ Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/

The Italians are coming

2015-01-27 Thread Richmond
I stumbled on this: http://www.maxvessi.net/pmwiki/pmwiki.php?n=Main.GuidaALivecode and this: http://livecodeitalia.freeforums.org/generale-f2.html I wonder how widely publicised they are? Richmond. ___ use-livecode mailing list use-livecode@lists.

RE: semi-OT: TestFlight.com beta testing closing

2015-01-27 Thread Ralph DiMola
Colin, Thanks! Sorry I was not clear. I use Ad Hoc for testing with the internal 100. Ad Hoc has worked in the past and still works. I used Distribution profile when attempting to get TestFlight working. It look like Chris solved this. Chris, Thank you for running this down! Beta should be a

Re: Set Script Limits in Standalones

2015-01-27 Thread Ray
Richard that is really great that Scott took some time to pursue what sounds like a really cool dream. Now, back to business :) I've never used behaviors much which is really bad on my part. I think I'll look into them. Thanks for the suggestion. On 1/27/2015 4:02 PM, Richard Gaskin wrote:

Re: semi-OT: TestFlight.com beta testing closing

2015-01-27 Thread Colin Holgate
You say Ad Hoc works fine, but that Apple say to use App Store. In my successful Test Flight test I’m using App Store, not Ad Hoc. Ad Hoc would only work on your 100 internal test devices, to work on the 1000 external devices you should use App Store. > On Jan 27, 2015, at 6:54 PM, Ralph DiMol

Re: Set Script Limits in Standalones

2015-01-27 Thread Richard Gaskin
Ray wrote: > What I'm actually doing is executing something like 'set the > script of button myButton to myScript' where myScript is greater > than 16 lines. Historically this has worked in the IDE but > fails in the standalone because of the limitation. That should be possible now, but tread c

Re: semi-OT: TestFlight.com beta testing closing

2015-01-27 Thread Chris Sheffield
Ralph, I think I got it to work. I created an app build using an App Store distribution profile, not Ad Hoc, as Colin suggested. I also added the following to my StoreEntitlements file: beta-reports-active This should go right before the closing tag, if you’re just using a text editor. I wo

RE: semi-OT: TestFlight.com beta testing closing

2015-01-27 Thread Ralph DiMola
Colin/Chris, Ad Hoc's work just fine. I used a Distribution certificate to generate the new provisioning profile. Apple says in the FAQ "To use the TestFlight app to test your prerelease build, it must be signed with an App Store Distribution Provisioning profile that includes the beta entitlem

Re: Unicode

2015-01-27 Thread Peter Haworth
Hi Devin, That works perfectly in pre 7 and 7, thanks a lot. It's somewhat of a pain to deal with this when putting data into a datagrid since it requires a custom column behavior to format the data correctly. I haven't tried editing a datagrid cell with unicode in it yet, but I'm guessing that w

Re: Set Script Limits in Standalones

2015-01-27 Thread Ray
Richard - your post just came in and thanks for this clarification. It's alos good news all the way around. "Raney" Now there's a name I haven't heard in a long time. I didn't know Scott had a doctoral degree and I hope he was never offended that I didn't address him with this title. I wond

Re: Set Script Limits in Standalones

2015-01-27 Thread Ray
Thanks Bob. What I'm actually doing is executing something like 'set the script of button myButton to myScript' where myScript is greater than 16 lines. Historically this has worked in the IDE but fails in the standalone because of the limitation. On 1/27/2015 1:21 PM, Bob Sneidar wrote: I

Re: semi-OT: TestFlight.com beta testing closing

2015-01-27 Thread Chris Sheffield
Interesting you used the App Store profile. I didn’t think that worked, so I’ve used an Ad Hoc profile when I’ve tried it. I thought an app store distribution profile was strictly for that, the App Store. So your testers can download the build just fine? No problems installing and running on dev

Re: semi-OT: TestFlight.com beta testing closing

2015-01-27 Thread Chris Sheffield
Ralph, At this point your guess is as good as mine. I’m not totally sure how to make it work. Haven’t had a chance to try it yet. If someone from RunRev happens to see this and wants to chime in, that would be great. I am planning on filing a bug/enhancement request about this, if no one has do

Re: semi-OT: TestFlight.com beta testing closing

2015-01-27 Thread Colin Holgate
According to what you say Apple say, you would think the provisioning would include the entitlements. One thing though, did you do Ad Hoc or App Store? For an AIR app I have in Test Flight I used the App Store version. ___ use-livecode mailing list use-

Re: Set Script Limits in Standalones

2015-01-27 Thread Richard Gaskin
Bob Sneidar wrote: >> On Jan 27, 2015, at 07:56 , Ray wrote: >> >> As I recall there's a limit to the number of lines in a script >> which is set in a standalone. I thought it was 16 lines. This >> limitation, if it still exists, is not documented in the >> dictionary. Does anybody know what

RE: semi-OT: TestFlight.com beta testing closing

2015-01-27 Thread Ralph DiMola
I'm trying to use the new TestFlight. I created a new distribution profile. This is supposed to include the Beta entitlement. I refreshed Xcode and the new profile appeared and was on the LC provisioning profile list. I selected it and created a standalone. Uploaded via the application loader. O

Re: Set Script Limits in Standalones

2015-01-27 Thread Bob Sneidar
I think the 16 line limit was for in line compilation, as in creating a list of commands and executing them with a do command. I do not think it means that every script in a standalone is limited to 16 lines, and I believe that limit has been removed anyway, or else greatly increased. Bob S

Re: semi-OT: TestFlight.com beta testing closing

2015-01-27 Thread Chris Sheffield
Mike, Yes, I found HockeyApp yesterday as well. Looks very similar to TestFlight. We’ll probably end up giving that a go for now. Thanks, Chris > On Jan 26, 2015, at 3:09 PM, Mike Kerner wrote: > > There is also hockeyApp, but I'm not aware of anyone trying to make it work > with LC > > On M

Set Script Limits in Standalones

2015-01-27 Thread Ray
As I recall there's a limit to the number of lines in a script which is set in a standalone. I thought it was 16 lines. This limitation, if it still exists, is not documented in the dictionary. Does anybody know what it is or if it got removed with the advent of the community edition? _

Re: Unicode

2015-01-27 Thread Devin Asay
On Jan 26, 2015, at 10:01 AM, Devin Asay wrote: > It would be great if there were a stack property we could set that would > specify what format outputted text would be. The default could be “native”; > i.e., the native encoding for the platform, but then we could set it to > things like “utf

Re: Unicode

2015-01-27 Thread Devin Asay
On Jan 26, 2015, at 5:35 PM, Peter Haworth wrote: > Well I guess I spoke too soon :-) When I said I had things working, I > meant I could successfully get data from a UTF8 database and display it > correctly. > > I'm now trying to get input from field controls and get it into the > database.

Re: AW: 7.0.2 RC1 Crashes and Corrupts Stack Files

2015-01-27 Thread Ray
Agreed. I'm not seeing any of the major problems on 6.5.2 which 7.X has regarding players. If you're considering updating my suggestion would be to wait until you're sure 7.X is truly stable in this area. The only issue I have with 6.5.2, a minor issue, is I can't see Quicktime movies when r

AW: 7.0.2 RC1 Crashes and Corrupts Stack Files

2015-01-27 Thread Tiemo Hollmann TB
Hi Ray, I am only working with 6.5.2 for my live product and the "major feature" is playing videos. I have never had any issues with changing the source pretty straight forward with this version. Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.c