Re: Detect run from drive type

2007-12-29 Thread Phil Davis
Hi Russell, Check out my Rev USBDrive library at: http://pdslabs.net/stacks/libUsbDrive.rev.zip I need to update it with new features, but I think it might give you what you're looking for - or at least it'll give you a starting point. Phil Davis Russell Martin wrote: Does anyone know

Re: Detect run from drive type

2007-12-29 Thread Richard Gaskin
Russell Martin wrote: Does anyone know of a way to detect whether an app is being run from a removable drive? The goal being, if the app was run from a removable/writable drive (i.e. a usb keychain drive, but not necessarily a U3 volume), the app would then read & write its prefs in the folder it

Detect run from drive type

2007-12-29 Thread Russell Martin
Does anyone know of a way to detect whether an app is being run from a removable drive? The goal being, if the app was run from a removable/writable drive (i.e. a usb keychain drive, but not necessarily a U3 volume), the app would then read & write its prefs in the folder it was run from, but if ru

Re: Engelbart and Kay --was: Back to the Future with Hypercard

2007-12-29 Thread Terry Judd
> From: Bill Marriott <[EMAIL PROTECTED]> > Reply-To: How to use Revolution > Date: Fri, 28 Dec 2007 14:24:54 -0500 > To: > Subject: Re: Engelbart and Kay --was: Back to the Future with Hypercard > > Hi Judy, > > You know, my "not much demand for it" comment might indeed have been a > little c

Re: the char number of char 1 of word x

2007-12-29 Thread Jim Ault
Well, like I said before --- get the number of chars in word 1 to 4 of textString subtract length(word 4 of textString) from it -- now (it) will include any white space before the 4th word, eg multiple spaces, commas, and any other non-word chars If you want to include the fir

Re: the char number of char 1 of word x

2007-12-29 Thread Brian Yennie
Here is a bit of a hack, if you want: put numToChar(7) into marker put marker into char 1 of word 4 of myText put offset(marker, myText) into tNum In other words, you replace the chunk with a special character, and then find the position of that marker. Of course, you would need to work on a

RE: the char number of char 1 of word x

2007-12-29 Thread Randall Lee Reetz
I need the syntax to get the exact number of chars up until the first char of another chunk expression (word thscount of thsstring). -Original Message- From: "Jim Ault" <[EMAIL PROTECTED]> To: "How to use Revolution" Sent: 12/29/2007 3:31 PM Subject: Re: the char number of char 1 of word

Re: the char number of char 1 of word x

2007-12-29 Thread Brian Yennie
For your specific example: put length(word 1 to 4 of myText) - length(word 4 of myText) + 1 OR put (the number of chars in word 1 to 4 of myText) - (the number of chars in word 4 of myText) + 1 Unfortunately there is no direct chunk expression like: "word 1 to char 1 of word 4 of myText" As

Re: the char number of char 1 of word x

2007-12-29 Thread Jim Ault
On 12/29/07 2:33 PM, "Randall Lee Reetz" <[EMAIL PROTECTED]> wrote: > Ok, my fault, i'll tey to be more specific. Every char in a string can be > rrferenced by its count in the string. Char 5 of "my love" is "o". So if i > want the char count of char 1 of word 2 of that same string i should get

RE: the char number of char 1 of word x

2007-12-29 Thread Randall Lee Reetz
Ok, my fault, i'll tey to be more specific. Every char in a string can be rrferenced by its count in the string. Char 5 of "my love" is "o". So if i want the char count of char 1 of word 2 of that same string i should get 4. How do i construct an argument for the count of a char as reference

Re: the char number of char 1 of word x

2007-12-29 Thread Bill Marriott
Hi Randall, > How do I get the char count (number) of the first char of a particular > word (say "word 4") of a string? do you mean, the charToNum of char 1 of word x of myString - Bill http://runrev.com/offers/rshb ___ use-revolution mailing l

Re: the char number of char 1 of word x

2007-12-29 Thread Jim Ault
On 12/29/07 12:51 PM, "Randall Lee Reetz" <[EMAIL PROTECTED]> wrote: > How do I get the char count (number) of the first char of a > particular word (say "word 4") of a string? get the number of chars in word 1 to 4 of textString subtract length(word 4 of textString) from it -- now (it) will in

RE: the char number of char 1 of word x

2007-12-29 Thread Randall Lee Reetz
This does not include leading worddel chars. randall -Original Message- From: "Sarah Reichelt" <[EMAIL PROTECTED]> To: "How to use Revolution" Sent: 12/29/2007 1:00 PM Subject: Re: the char number of char 1 of word x On Dec 30, 2007 6:51 AM, Randall Lee Reetz <[EMAIL PROTECTED]> wrote:

Re: the char number of char 1 of word x

2007-12-29 Thread Derek Bump
Randall, I'm assuming that you mean the length of a particular word within a string or variable... put length(word 4 of someVariable) into wordLength -- or -- put length(word 4 of line 3 of fld "myField") into wordLength Otherwise do you mean the number of chars that occur until

Re: the char number of char 1 of word x

2007-12-29 Thread Sarah Reichelt
On Dec 30, 2007 6:51 AM, Randall Lee Reetz <[EMAIL PROTECTED]> wrote: > How do I get the char count (number) of the first char of a > particular word (say "word 4") of a string? Not sure I understand exactly what you mean, but how about: put the number of chars in word 1 to 4 of myString Chee

the char number of char 1 of word x

2007-12-29 Thread Randall Lee Reetz
How do I get the char count (number) of the first char of a particular word (say "word 4") of a string? Randall ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscriptio