Favourite mySQL admin tools?
Pete Haworth
___
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/mailman/listinfo/use-livecod
On 3/3/11 4:35 PM, Steve Jones wrote:
Greeting!
I am a novice LiveCode user, and even more so to the iOS environment.
I used RuntimeRevolution for a bit, and before that SuperCard and
HyperCard so I am not completely lost. But I did have a question on
the best methodology to use for a project I
I don't know if you are using windows but if you were to open such a file in
notepad you wouldnt see the linebreaks, but switch to wordpad and they
should appear
On 3/3/11 8:26 PM, Gerry wrote:
>
>> I'm embedding my own item delimiter character in the file for now
>> (I'm using "\"). I then cycle
On 3/3/11 8:26 PM, Gerry wrote:
I'm embedding my own item delimiter character in the file for now
(I'm using "\"). I then cycle through the text and grab each item one
by one, putting them into lines of the field. It works, but there
must be a better way.
Don't do that. Line breaks are preserve
I'm embedding my own item delimiter character in the file for now (I'm using
"\"). I then cycle through the text and grab each item one by one, putting them
into lines of the field. It works, but there must be a better way.
Is the problem with my .txt file? I save it out of a text editor with Un
Just trying the put URL thing - pulling down a .txt file with UNIX line breaks,
it seems to strip the line breaks out. How to I handle that?
g
-- photo site: http://gerryorkin.com
On Friday, 4 March 2011 at 9:48 AM, Nonsanity wrote:
> There are many, many ways to do this. The barest minimum mi
There are many, many ways to do this. The barest minimum might be:
put url "http://myserver.org/updatedata/latest.txt"; into latestUpdateData
Then work with that data as you wish. Not a web site, though it requires a
web host to stick the file on, of course. Though there are plenty of free
places
Greeting!
I am a novice LiveCode user, and even more so to the iOS environment. I used
RuntimeRevolution for a bit, and before that SuperCard and HyperCard so I am
not completely lost. But I did have a question on the best methodology to use
for a project I have started working on to use as a
Two tests:
on mouseUp
put "coral" into testValue
put ""
wait 15
switch --this catches "coral"
case testValue is among the words of "pink coral azure maize"
put "found coral"
break
default
put "no coral"
end switch
end mouseup
on mouseUp
put "cora
sounds like what I used to get when I talked back to my mom.
Bob
On Mar 3, 2011, at 12:26 PM, Jim Ault wrote:
> only works if you use the 'naked switch' form
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subsc
You trigonometry wiz kids just amaze me. ;-P
Bob
On Mar 3, 2011, at 11:57 AM, Alex Tweedly wrote:
>
> put 500 * round(x/500 + 0.499)
>
> -- Alex.
>
>
> On 03/03/2011 17:06, FlexibleLearning wrote:
>> Here's a poser for you all...
>>
>> How to round a number UP to the nearest 500?
>>
>
On Mar 3, 2011, at 10:40 AM, Nonsanity wrote:
Are you sure the "is among" line works there?
I apologize for creating confusion with my example.
You are correct in that I mixed the TWO forms of the SWITCH structure
in the same example.
"among the words"
only works if you use the 'naked
put 500 * round(x/500 + 0.499)
-- Alex.
On 03/03/2011 17:06, FlexibleLearning wrote:
Here's a poser for you all...
How to round a number UP to the nearest 500?
Hugh Senior
FLCo
___
use-livecode mailing list
use-livecode@lists.runrev.com
Plea
I just tried this on my own DataGrid and I was able to drag and drop with a
column sort enabled. When I do this, the column sort property is still set, but
the column is unsorted, so this does not happen auto-magically.
I think the key then is to set the Sort By Column property to empty before
I wrote on March 3, 2011 at 10:28 AM -0800 wrote:
>I have Data Grid Helper, but as you point out, it is the code that is
>holding me back. I am not at all clear how to implement this and was
>hoping that there was a sample stack out there somewhere where someone had
>already done this, and I can l
On Wed, Mar 2, 2011 at 8:03 PM, Jim Ault wrote:
> put the textcolor of fld 1 into testValue
>
> switch testValue
> case "red"
> case "yellow"
> case "orange"
>put "red" into newFontColor
>break
> case "green"
> case "blue"
> case "purple"
>put "green" into newF
Bob Sneidar on March 3, 2011 at 9:11 AM -0800 wrote:
>Yes, but that is not what is keeping you from doing drag and drop
>operations. You have to code your drag and drop. Zryip's Data Grid Helper
>has, among a great many other benefits, the ability to add a drag and
>drop script for you.
>
>It doe
Yeah!
Minor tweak and it's working:
function roundUp500 theNumber
return trunc((theNumber-1)/500+1)*500
end roundUp500
Many thanks Mark and Brian. I love this group.
Hugh Senior
FLCo
On 3 mrt 2011, at 18:06, FlexibleLearning wrote:
> Here's a poser for you all...
>
> How to round a numb
Another variant:
trunc(n + (500 - (n mod 500)))
> Hi Hugh,
>
> function roundUp500 theNumber
> return trunc(theNumber/500+1)*500
> end roundUp500
>
> Seems to work.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x
Hi Hugh,
function roundUp500 theNumber
return trunc(theNumber/500+1)*500
end roundUp500
Seems to work.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
New: Down
Yes, but that is not what is keeping you from doing drag and drop operations.
You have to code your drag and drop. Zryip's Data Grid Helper has, among a
great many other benefits, the ability to add a drag and drop script for you.
It does beg the question though, whether or not a drag and drop
Here's a poser for you all...
How to round a number UP to the nearest 500?
Hugh Senior
FLCo
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://l
That was my concern. I guess it doesn't matter as long as you use the same
base date for conversion to and from Julian format, and once I found SQL
provides functions to do that, I realised I don;t need any LC code.
Pete Haworth
On Mar 3, 2011, at 8:55 AM, Bob Sneidar wrote:
> http://en.wikip
http://en.wikipedia.org/wiki/Julian_day
Apparently there are a number of different Julian Date forms. Kind of makes you
wonder why anyone uses it at all!
Bob
On Mar 2, 2011, at 5:26 PM, Peter Haworth wrote:
> Ah yes, forgot about that! I looked in Sarah's date routines and found what
> I'm
Gee, I wonder what happened on that date?
Bob
On Mar 2, 2011, at 4:20 PM, Peter Haworth wrote:
> LC has me covered for text string dates and dates stored in seconds but
> SQLIte can also store dates in Julian format, defined as the number of days
> since 11/24, 4714 BC.
_
I think he means that he was familiar with an IDE which used switch to test for
different values of a variable, and each case statement was for value of the
variable. I can see it being used in that form, but it seems to me that is
actually more limiting not more flexible. In that form the ONLY
I don't know if this is possible or not, but I thought I would ask.
If you turn off sorting in a datagrid, is it possible to do drag and drop
rearranging of rows?
Has anyone done this?
Is there a lesson on this, or does someone have a sample stack that would
demonstrate this?
Thank in advance.
**
Trevor,
Thanks for the response - sorted! This was the key question that led me to the
fix.
>
> * Is "admin" the name of the main stack that is stored in your app.rev stack
> file in memory?
I had the Application stack's kProgramStackName pointing at the name of the
.rev file I had added with
On Thu, Mar 3, 2011 at 8:09 AM, Keith Clarke <
keith.cla...@clarkeandclarke.co.uk> wrote:
> Hi folks,
> I'm trying to configure a GLX application framework for my first 'proper'
> application but I'm struggling with getting my stack to be launched by the
> GLX launcher stack...
>
> I have copied m
Hi folks,
I'm trying to configure a GLX application framework for my first 'proper'
application but I'm struggling with getting my stack to be launched by the GLX
launcher stack...
I have copied my 'app.rev' stack file into the GLX application directory,
successfully added it as a stack (a req
30 matches
Mail list logo