Search found 28 matches

by TEDennis
Wed Apr 08, 2015 12:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Initialization Error - failed to load external?
Replies: 6
Views: 1260

Re: Initialization Error - failed to load external?

I'm having the same problem -- "failed to load external" First of all, it's frustrating to have a message like that display when it doesn't identify the external it's trying to load. This error didn't happen in prior versions (6.1 and prior). It also doesn't happen in 7.0.3, but it does happen in 7....
by TEDennis
Tue May 05, 2009 12:34 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: RevOnline Question
Replies: 6
Views: 1212

revOnline -- Login/out

My revOnline session shows me as: "You are logged in as" [with no user id] When I try to log out to correct that glitch, it says "Failed to log out" So, how do I "log out", so I can "log in" ?? "My Account" shows empty. No email, no company, etc. The lower left corner shows: "RevOnline | No connecti...
by TEDennis
Thu Sep 25, 2008 11:47 pm
Forum: Digital Art and Portfolios
Topic: Web based portfolio
Replies: 1
Views: 4407

Web based portfolio

I need to build a web-based portfolio of art. It looks like "Portfolio Builder" might provide the basics, upon which I could build a CGI interface.

So, where is "Portfolio Builder"?

Also, I expected there to be a simple example of this somewhere. Did I miss something?
by TEDennis
Thu Sep 18, 2008 9:26 pm
Forum: Talking LiveCode
Topic: clickText bug in 3.0
Replies: 2
Views: 1069

The beta forum is still accessible to me. Whatever, here's the post: I have an app that fails in 3.0, but worked fine in 2.9. The returned value from "clickText" has changed. According to the doc: A word, for purposes of the clickText, is any text delimited by spaces, tabs, returns, or punctuation. ...
by TEDennis
Thu Sep 18, 2008 12:20 am
Forum: Talking LiveCode
Topic: clickText bug in 3.0
Replies: 2
Views: 1069

clickText bug in 3.0

No response on the Beta forum, so I'll post a link to it here.

http://forums.runrev.com/phpBB2/viewtopic.php?t=2081
by TEDennis
Wed Sep 10, 2008 10:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Returning Variable Value
Replies: 12
Views: 1629

Try this for a more generic approach. Note that I added a final "1,0" to cause the error condition. It looks better without the testing code, but it's there for you to verify the solution. constant cItems = "3,1,2,1,3,3,3,3,3,2,2,1,3,1,2,2,1,1,3,1,0" on mouseUp set the itemDelimiter to comma -- Buil...
by TEDennis
Thu Aug 07, 2008 6:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: grouping and accumulating in a table
Replies: 1
Views: 758

constant cItems = "Alpha 200, Beta 100, Charlie 300, Delta 400, Alpha 100, Charlie 300" on mouseUp set the itemDelimiter to comma put empty into tArray repeat for each item tItem in cItems put word 1 of tItem into tKey if tArray[tKey] is empty then put 0 into tArray[tKey] end if add word 2 of tItem...
by TEDennis
Wed Jul 02, 2008 2:21 pm
Forum: Talking LiveCode
Topic: polygon area
Replies: 8
Views: 2837

The code at the following link is an approach that will handle the area of irregular polygons of various shapes. It does a good job of explaining the concept, complete with pictures. No Rev code, though. Anybody who wants to implement this and share their code is welcome to do so. I might give it a ...
by TEDennis
Tue Jul 01, 2008 4:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Still trying to sort an array...
Replies: 4
Views: 1165

An even cleaner version, without the loop to initialize the array ... constant cArrayValues = "22,88,78,80,102,96,77,122,114,118,169,159,158,105,76,52,81,52,132,82,110,106" on mouseUp -- Initialize array to values put cArrayValues into tArray split tArray by comma -- tArray now has the values you sp...
by TEDennis
Tue Jul 01, 2008 4:15 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Still trying to sort an array...
Replies: 4
Views: 1165

constant cArrayValues = "22,88,78,80,102,96,77,122,114,118,169,159,158,105,76,52,81,52,132,82,110,106" on mouseUp -- Initialize array to values set the itemDelimiter to comma put empty into tArray put 1 into tArrayIndex repeat for each item tNum in cArrayValues put tNum into tArray[tArrayIndex] add...
by TEDennis
Mon Jun 30, 2008 5:42 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Still trying to sort an array...
Replies: 4
Views: 1165

You need to specify the type of data it's sorting on if you're sorting something other than text.

From the Rev doc:
sort [{lines | items} of] container [direction] [sortType] [by sortKey]

The sortType is one of text, numeric, or dateTime. If you don't specify a sortType, the sort is by text.
by TEDennis
Tue Jun 24, 2008 11:34 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Script compiles but moving errors on run
Replies: 4
Views: 1014

That's what I meant by: "Are these variables initialized in another script? If so, they need to be defined as locals." I was incorrect with my terminology, sorry. I should have said "Are these variables initialized in another handler (command or function) within your script". command = "on commandNa...
by TEDennis
Mon Jun 23, 2008 9:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Script compiles but moving errors on run
Replies: 4
Views: 1014

I was able to recreate your error, as you stated. It all works fine if the variables have values in them. Are these variables initialized in another script? If so, they need to be defined as locals. Put the following into your script prior to the first add, and everything works fine: put 0 into L1 p...
by TEDennis
Mon Jun 23, 2008 4:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Stuck in a loop?
Replies: 3
Views: 978

Try this ...

Code: Select all

on mouseUp
    put 19 into myArray[5]
    put 29 into myArray[4]
    put 39 into myArray[3]
    put 49 into myArray[2]
    put 59 into myArray[1]
    combine myArray by row
    put myArray & cr & 29 && "is in array element" && lineOffset(29, myArray) 
end mouseUp
by TEDennis
Fri Jun 20, 2008 8:11 pm
Forum: CGIs and the Server
Topic: RevHTTP ....where have you gone...?
Replies: 3
Views: 3099

I also wonder what happened to "RevOnRockets"? It was highly touted prior to "runrevlive.08" and even had a download link in the February edition of the "Runtime Revolution Newsletter": http://www.runrev.com/newsletter/february/issue42/newsletter2.php RevOnRockets is *supposed* to be here: http://ww...

Go to advanced search