Search found 423 matches

by WaltBrown
Sat Mar 28, 2015 3:11 am
Forum: Internet
Topic: encrypt using rsa
Replies: 22
Views: 15771

Re: encrypt using rsa

Did you try "encrypt source using rsa with {public | private} key key [and passphrase passphrase]" as described in the Dictionary? I only mention it because your message didn't have the "using rsa" in it.
Walt
by WaltBrown
Sat Mar 28, 2015 2:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Centering stack on current monitor
Replies: 6
Views: 5442

Re: Centering stack on current monitor

Here's a stack I use to find wayward stack windows in multi screen space - I sometimes park open stacks off screen. It may help.
Walt
by WaltBrown
Fri Mar 27, 2015 7:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Normalizing data..........any suggestions?
Replies: 5
Views: 3764

Re: Normalizing data..........any suggestions?

Normalize is a procedure defined at the bottom of the code you are using - lunarphasecalc.zen:

Code: Select all

% normalize values to range 0...1
function normalize( v : real ) : real
    v := v - floor( v ) 
    if v < 0 then
        v := v + 1
    end if
    return v
end function
by WaltBrown
Fri Mar 27, 2015 6:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Normalizing data..........any suggestions?
Replies: 5
Views: 3764

Re: Normalizing data..........any suggestions?

Rage,
What does "JD" stand for? Also, do you have an example of the calculation in Zeno with the output (what IP contains after the "normalize")? That would give some more clues.
Thanks,
Walt
by WaltBrown
Thu Mar 19, 2015 4:12 am
Forum: Talking LiveCode
Topic: LC stalls in a long process.
Replies: 9
Views: 5005

Re: LC stalls in a long process.

Craig

In combinatorial, you have "repeat until x = n" but later have "put the number of items in x into noItems" How does a list of items equaling an integer terminate a repeat loop? Should that be "repeat until the number of items in x = n"?

Walt
by WaltBrown
Wed Mar 18, 2015 4:10 pm
Forum: Off-Topic
Topic: Interesting Challenge and Concept
Replies: 1
Views: 3060

Interesting Challenge and Concept

I saw some discussions of floating point precision here and on the mailing list recently. I also received a loosely related email from www.dzone.com (that I cut and partially pasted below) that I thought might be of interest here. Given RunRev's and golf's mutual Scottish roots, LC Golf might make f...
by WaltBrown
Mon Mar 16, 2015 6:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message Box Problem
Replies: 1
Views: 1786

Re: [Never mind] Message Box Problem

After a few hours of trying to debug this, I rebuilt the same set of stacks with the same scripts, and the problem does not happen. I guess some days the IDE can wake up cranky?
by WaltBrown
Mon Mar 16, 2015 5:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message Box Problem
Replies: 1
Views: 1786

Message Box Problem

This is probably stupidity on my part. I have a stack with a substack. In the substack is a single line stack script for the openCard message : on openCard put the name of this card into fld "fCardName" end openCard so the name of the card is displayed (in the app I am changing the names of the card...
by WaltBrown
Sun Mar 15, 2015 2:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Centering stack on current monitor
Replies: 6
Views: 5442

Re: Centering stack on current monitor

Look at "screenRects" in the Dictionary. I've used that to determine which screen the user has put the stack.
by WaltBrown
Sun Mar 15, 2015 2:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Parse the Array
Replies: 7
Views: 5575

Re: Parse the Array

Try

Code: Select all

put the keys of myArray1 [b]into [/b]pKeys
otherwise post your code so we can see how the arrays are getting built.

Walt
by WaltBrown
Sat Mar 14, 2015 2:42 am
Forum: LiveCode Builder
Topic: Handler Parameters?
Replies: 2
Views: 3741

Re: Handler Parameters?

<Sorry, I didn't see the mailbox this was in...>
by WaltBrown
Tue Mar 10, 2015 2:02 am
Forum: Engine Contributors
Topic: Line wraps and rendering performance
Replies: 1
Views: 3851

Re: Line wraps and rendering performance

Has anyone done that in a tablet or phone? I imaging going from landscape to portrait would incur a similar penalty, if you are resizing fields.
by WaltBrown
Wed Mar 04, 2015 6:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message To Field When Content Changes
Replies: 8
Views: 5969

Re: Message To Field When Content Changes

I'm going to revisit the Subscriber/Publisher IPC mechanism for a bit (for this and the pseudo-multitasking discussions). I've sketched out a spec for a utility stack and hope to put together a V1 tonight.
by WaltBrown
Wed Mar 04, 2015 5:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message To Field When Content Changes
Replies: 8
Views: 5969

Re: Message To Field When Content Changes

Thanks, both good answers. The issue is the field won't know ahead of time what script might update it, and the script may not know the specific field name (ie passed by reference). I'm thinking of re-architecting to a PubSub kind of architecture, so the fields and the scripts updating them don't ha...
by WaltBrown
Wed Mar 04, 2015 10:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message To Field When Content Changes
Replies: 8
Views: 5969

Message To Field When Content Changes

Hi! Probably an easy one - searched for an answer but didn't find it. I have fields (effectively standardized, or template fields I use in multiple stacks) whose content can be changed, either manually or programmatically. I have "standard" template scripts for validating certain input types, and po...

Go to advanced search