Hi again.
I'm working on an indexing script.
The relevant portion of my script so far: (it works thanks to you guys)
repeat until the shiftKey is down
set cursor to busy
put the number of this card into firstNum
find tTempSearch in field "narrative"
put the foundChunk in
Can you get there via mass transit?
Judy
___
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-livecode
NeoOffice too. I really don't need twirly nauseating text. I once had a
student group do their report on the eBay phenomenon. Yup, you guessed
it. EVERY SINGLE LETTER in the presentation was in a different color.
Every line twirled into focus. It was downright nauseating.
Oh, and here's a
Richmond,
I'm catching up on emails and I was reading this email while allowing my
students to work in small groups on their final project, and when I read
your definition of IT I literally laughed out loud. The week before I did
a lecture on computerized voting machines, known as DREs, and a
On Mar 22, 2011, at 3:30 PM, J. Landman Gay wrote:
> Off the top of my head:
>
> put "thing to find" into tVar
> repeat
> find tVar [in field "thisField"]
> if the result = "not found" then exit repeat
> put the foundchunk & cr after tFoundList
> end repeat
>
> This will go through all the cards
On 3/22/11 8:38 PM, Gerry Orkin wrote:
Jacqueline,
As I mentioned, it goes crazy. Setting a breakpoint in the referring
button script jumps me to the top line of the card script, but not to
the handler being called. The trace shows that LiveCode is attempting
to evaluate every line of code in th
That's an excellent point. I'm so used to SQLite's type tolerance that I will
have to be sure to validate data more carefully for MySQL usage.
Pete Haworth
On Mar 22, 2011, at 8:33 PM, Björnke von Gierke wrote:
> A main difference (especially coming from LiveCode) is that you do not need
> t
Thanks for the reply and info. Yes I was referring to 'http'.
Actually I was thinking you could not access the file if it
was above the public_html and wanted to make sure. I
am not actually trying to access a file above public_html
even though it looks that way by the question.
What I am trying
Thanks for the info.
So if my account name is jayb and I wanted to access
the file by pointing my browser to it while it is located
in the publc_html folder but not in my domain folder
I would use the path
/home/jayb/public_html/Hello_World.php
and then the file should run? I do not need to use
On Mar 22, 2011, at 7:57 PM, -=>JB wrote:
I would like to know how to get the path of a file that is
located above the public_html which I think is called
above webroot.
Let's say I have a file named Hello_World.php and
it is above the public_html. What is it's path and can
I run the file by
A main difference (especially coming from LiveCode) is that you do not need to
type the columns in SQLite. this means you can just dump anything anywhere,
similar to how you can put any kind of data into any container in LiveCode. For
mySQL, one would always need to do a lot more of sanitising,
You shouldn't be able to call it directly if its outside of your public_html
folder. I think you can 'include' a php file that is outside the boundaries
from another php page, and if I recall correctly there are ways to force php
pages to load from within an irev, but I can't remember whats require
I would like to know how to get the path of a file that is
located above the public_html which I think is called
above webroot.
Let's say I have a file named Hello_World.php and
it is above the public_html. What is it's path and can
I run the file by pointing my browser to it's path like I
can wh
You don't have a "do" statement in there somewhere, do you? The only
way I could imagine that kind of behavior happening would be with
something like "do script of this card."
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Mar 22, 2011, at 9:38 PM, Gerry Orki
Jacqueline,
As I mentioned, it goes crazy. Setting a breakpoint in the referring button
script jumps me to the top line of the card script, but not to the handler
being called. The trace shows that LiveCode is attempting to evaluate every
line of code in the card script, starting from the top,
Still a problem:
I load the mobile plugin, put the folder of files into the directory but when
the app comes up in the simulator none of the files are accessed. The buttons
all work and the text not accessed by files show, but none of the images,audio
or text files are found. It acts like they a
Very kind of you all. Thanks to Joe, Craig, Jacque, Peter and Terry.
I can do this now.
Best regards,
Tim
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
prefere
Actually 2 is slightly more complicated in that you have to sum your offset
values as you go in order to determine the correct number of characters to
skip. I'd also forgotten about the find function mentioned by Jacque -
probably a much simpler way to go.
Terry...
On 23/03/11 9:38 AM, "Terry Ju
Here are some things to start working with...
1. the cardNames function - gives you a list of cards for the specified
stack. You can then loop through each card in turn using a repeat loop of
the form...
repeat for each line tCd in (the cardNames of this stack)
...alternatively you can just
rep
On Mar 22, 2011, at 5:31 PM, Timothy Miller wrote:
Hiya,
I guess I never tried to write a script like this before. Thought it
would be simple... Well, it is simple, probably, just not simple in
a way that I actually understand.
How do I find multiple instances of a string in a given field
On 3/22/11 4:31 PM, Timothy Miller wrote:
How do I find multiple instances of a string in a given field of a
given card and record each foundchunk in a variable, and then stop
repeating the find command when the last instance is found?
It's simpler than you'd think. Unlike HyperCard, LiveCode
Joe is giving you tough love.
Check out the "offset" command as well as the "find" command. Note the "chars
to skip" parameter. Read about the "foundChunk". If you are really into it, and
you should be, try to find several different ways to accomplish your task.
Craig Newman
-Origina
I mean that sqLite is just a file on the local hard drive. If they were
benchmarking mySQL running locally, I guess it's sort of the same thing, but
mySQL still uses the networking protocols right? I mean you have to connect via
localhost or the IP of the local machine, so it's still using netwo
Hi Tim,
I would start with a repeat that would go through all of your cards;
When you are on a card put the field in question into a cdVar;
parse the cdVar, finding the first instance of the string; put that instance
into a var; delete the part of the cdVar through that point;
find another, etc.,
Hiya,
I guess I never tried to write a script like this before. Thought it would be
simple... Well, it is simple, probably, just not simple in a way that I
actually understand.
How do I find multiple instances of a string in a given field of a given card
and record each foundchunk in a variabl
On 3/21/11 6:10 PM, Keith Clarke wrote:
Hi folks, I need some help struggling with deploying my first
multi-stack stand-alone. Images in the main stack and sub-stack
(within the same folder as the .rev file) are greyed-out on both Mac
and web deployments. On the web deployment none of the button
On 3/22/11 1:10 AM, Gerry wrote:
So more messing about reveals that my problem wasn't with
libUrlDownloadToFile at all - but it's still weird.
I have a button that calls a command - upDateSongs - from its script.
If upDateSongs is in the stack script everything works fine. However
if it's in th
Not sure what you mean by "file based". Seems perfectly fair to me if I'm
comparing using SQLite and MySQL on my local computer. I'm not recommending
one above the other, just pointing out what I've read. As with any software,
you should use what works best for your application.
Pete Haworth
I don't think this is a fair comparison. sqLite is file based, and is likely
going to be a local file at that. Of course that would be faster.
Bob
On Mar 22, 2011, at 12:26 PM, Peter Haworth wrote:
> Definitely feature-deprived in some areas for sure but still very capable
> DBMS, depending
Then it may be engine specific. My query produced an error when trying to
create a table in my On-Rev database if I specified a default for varchar
columns without using NOT NULL. After adding NOT NULL it worked fine.
Bob
On Mar 22, 2011, at 12:21 PM, Peter Haworth wrote:
> Not seeing it on
Definitely feature-deprived in some areas for sure but still very capable DBMS,
depending on what your needs are. I haven't got round to benchmarks yet (and
probably won't), but I've read several things on the web that suggest SQLite is
much faster than mySQL. Of course if SQLite is missing a
Not seeing it on those types either:
`testdefault` char(10) DEFAULT 'XYZ',
`testdefault2` varchar(10) DEFAULT 'ABC',
Worked fine for me (through Sequel Pro). I wonder if this is a difference
between versions of MySQL. I'm using the Community version which is the free
one.
You're right on the
Yes but those are numeric data types. The restriction was on the char types
char() and varchar() (if I am not mistaken). TEXT types do not allow defaults
at all according to the manual.
Bob
On Mar 22, 2011, at 10:29 AM, Peter Haworth wrote:
> Hi Bob,
> I'm slowly putting together a list of d
I don't think you can select an entire column. What you can do is fake it. The
Data Grid Helper by Zryip allows you to set a script that disables sorting, but
you need to make the user think a column is selected.
Data Grid Helper also has a way of manually setting alternating column colors
lik
On HUG-aware apps the space inside the window-close "bubble" on OSX is
supposed to go slightly dark to indicate to the user that something on the
document has changed. The detection of what will 'dirty' is up to the
programmer.
It was added to the new version after it turned out to be a blocker in
Thanks Mark - just purchased three books
Pete Haworth
On Mar 22, 2011, at 9:52 AM, Mark Wieder wrote:
> If you've been thinking of buying some O'Reilly books (or even if you
> haven't), here's a deal too good to pass up: today books are 50% off
> with *all revenues* less author royalties going
Or,
function printCharXtimes pChar, pTimes
put "%" & pTimes & "s" into pTimes
put format(pTimes,) into tVar
replace space with pChar in tVar
return tVar
end printCharXtimes
Jim Lambert
___
use-livecode mailing list
use-livecode@lists.run
Having delved into LITE for about 5 minutes and only using MY the last few
years I had the impression that LITE was a feature-deprived version of
MYSQL. Thanks for reporting.
On 22 March 2011 10:29, Peter Haworth wrote:
> Hi Bob,
>
Stephen Barncard
San Francisco Ca. USA
more about sqb
That is a quote from the RunRev site; and the funny thibg
is that I can only find references to "the standard dirty document mark"
on the RunRev site, so have no idea of what it really means.
??
. . . mind you, now one can have a porn domain . . .
___
http://www.hypernextandroid.com/index.html
more interesting than Danton's head . . . :)
(probably less blood spilt too).
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscr
Thanks and gratz!
Bob
On Mar 22, 2011, at 10:10 AM, Kevin Miller wrote:
> Hi there,
>
> I’m delighted to advise that less than 4 months after entering the mobile
> market with LiveCode for iOS we are already bringing out the improvements
> that you have all been asking for. LiveCode 4.6, releas
I can't seem to figure out how to stop a datagrid's behavior from sorting
the entire grid each time a user clicks a column heading. I would much
rather have the column highlighted after the user clicks it instead of
sorting. Anybody know how to set this?
Thanks,
Ray
__
Hi Bob,
I'm slowly putting together a list of differences between SQLite and MySQL.
I'm concentrating on things that SQLite allows and MySQL does not. I haven't
looked at extra functionality provided by MySQL over and above what SQLite
provides since right now I just want to get to the point t
Hi there,
I¹m delighted to advise that less than 4 months after entering the mobile
market with LiveCode for iOS we are already bringing out the improvements
that you have all been asking for. LiveCode 4.6, released today, has 130 new
features, refinements and bug fixes, including:
* 20 new iOS
Bob,
I'm using the "Basic Table Field". I tried the selectedObject, but I get
nothing.
Here..
1...create 3 fields, one a regular Text Entry Field and two Basic Table Fields.
2...give each field a name
3...put this in the card script:
on rawKeyUp keyCode
put the target
end rawKeyUp
4...c
You can use focusIn and focusOut to keep track of which field is currently
selected, then you can do as you were to know which specific cell of the
current field is being modified.
If I understand how the table field works, when you select a cell to type
in, it pops up an overlay field named for l
+Like
http://learnat.sait.ab.ca/ict/txt_information/Intro2dcRev2/pagecopyright.html
--
-Mark Wieder
mwie...@ahsoftware.net
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your su
If you've been thinking of buying some O'Reilly books (or even if you
haven't), here's a deal too good to pass up: today books are 50% off
with *all revenues* less author royalties going to the Japanese Red
Cross Soceity for disaster relief.
http://oreilly.com/store/dd-jpn.html
--
-Mark Wieder
Oh hey that's clever!
Bob
On Mar 22, 2011, at 9:27 AM, Peter Brigham MD wrote:
>
> On Mar 21, 2011, at 11:56 PM, Trevor DeVore wrote:
>
>
>
>> *private* *function* _printCharXTimes pChar, pTimes
>>
>> *local* theStr
>>
>>
>>
>> *repeat* with i = 1 to pTimes
>>
>> *put* pChar afte
On Mar 21, 2011, at 11:56 PM, Trevor DeVore wrote:
*private* *function* _printCharXTimes pChar, pTimes
*local* theStr
*repeat* with i = 1 to pTimes
*put* pChar after theStr
*end* *repeat*
*return* theStr
*end* _printCharXTimes
A way to do this without a loop (don't know
Did you try the selectedObject? Are you talking about a Datagrid?
Bob
On Mar 22, 2011, at 8:36 AM, Tim Ponn wrote:
> Hello all!
>
> Though not a newbie to LiveCode, I'm rusty and trying to catch up on some
> featuresso...my apologies.
>
> I've got a few table fields in my app. I need t
Hey, thanks Trevor! Nice use of recursion. Who was it that said, "In order to
understand recursion, you must first understand recursion"?
Bob
On Mar 21, 2011, at 8:56 PM, Trevor DeVore wrote:
> On Mon, Mar 21, 2011 at 8:18 PM, Bob Sneidar wrote:
>
>>
>> It would be nice if printkeys() was
Hello all!
Though not a newbie to LiveCode, I'm rusty and trying to catch up on some
featuresso...my apologies.
I've got a few table fields in my app. I need to know in which table the user
is entering data. Even though each of my table fields has a unique name, all I
get as a "target" f
53 matches
Mail list logo