Hi Sivakatirswami,
Maybe you need to replace the cr's: replace uniencode(numtochar(13)) with
uniencode(numtochar(10)). Just a guess.
--
Kind regards,
Mark Schonewille
Economy-x-Talk
Http://economy-x-talk.com
Share the clipboard of your computer over a local network with Clipboard Link
http://
Hi folks,
A simple requirement but I'm struggling with getting the structure and syntax
needed to replace only the first space character in each line of a variable
with a tab.
I have a field of label-value pairs - and some of the values contain spaces.
This creates problems if I attempt a blank
On Wed, May 25, 2011 at 6:11 AM, Keith Clarke wrote:
> Hi folks,
> A simple requirement but I'm struggling with getting the structure and syntax
> needed to replace only the first space character in each line of a variable
> with a tab.
>
> I have a field of label-value pairs - and some of the va
On May 25, 2011, at 3:11 AM, Keith Clarke wrote:
A simple requirement but I'm struggling with getting the structure
and syntax needed to replace only the first space character in each
line of a variable with a tab.
I have a field of label-value pairs - and some of the values contain
spaces
Debugging hint when working with 'tab'
Save time and agro by...
using "M" so that it is easy to see the replacements and extras.
so try this
put tab into T
put "M" into T --for debugging
put fld 1 into tempp
repeat for each line LNN in tempp
put word 1 to -1 of LNN into cleanLine --trim
On Tue, May 24, 2011 at 2:35 PM, JosepM wrote:
>
> What is wrong?
>
You are assigning the wrong variable to the data grid.
> -- Assign to datagrid
> lock screen
> set the dgData of group "dg1" to theArray[entries]
>
Use theData instead of theArray.
--
Trevor DeVore
Blue Mango Learning
Another possible approach is:
put fld 1 into tTemp
put empty into tResult
repeat for each line tLine in tTemp
delete char offset(space,tLine) of tLine
put tLine & cr after tResult
end repeat
delete char -1 of tResult
>> tResult has your data
Ken Ray
Sons of Thunder Software, Inc.
On May 25,
If you want the following to happen:
word[space][space][space]word
becomes -->
word[tab]word
Then:
function StripFirstSpace1 myText
repeat with a = 1 to the number of lines in myText
if space is not in line a of myText then next repeat
put word 1 of line a of myText & tab & word 2
Hi Trevor,
theData is empty... only have values theArray..
Salut,
Josep
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/datagrid-Not-refresh-the-data-after-assign-data-from-an-array-tp3547865p3549942.html
Sent from the Revolution - User mailing list archive at N
Thanks to Roger, Ken and Chris for playing - but Jim gets the prize for the
simplicity brought through passing data out to a second variable, line by line,
rather than trying to fix the data in place (which is an interesting mental
challenge but quite convoluted).
So, I settled on this four li
Beware this will get the (possibly) wrong result for some data. For
instance, a comma will terminate a word, so
a,b def
will give you a key of "aTABb def"
rather than a key of "a,TABdef"
I'd stick to the safer
set the itemDel to space
repeat for each line L in tData
put item 1 of L & TAB
I have an iPad app I am working on. I have created the "-Portrait.png"
and "-Landscape.png" images as instructed in the Release Notes. However,
I seem to be getting odd results with it. It seems that the correct one does
show when the app is launched. But, the other one is shown for a split
One thing to keep in mind with that version: Lines that have data, but no
whitespace - lines with just a single word - will get a tab stuck on the
end, which may or may not be what you want in that case. If you don't want a
tab just before the return in such lines, you can add this after the repeat
Hi everyone,
I just wanted to wish any of the folks on this list who might be a geek,
nerd, dork, dweeb, or even a goon, a happy International Geek Pride Day :)
Today, in celebration, I wore a short sleeve button up shirt, a tie that is
tied too short, and fake horn rimmed glasses with tape in th
Hi Dan,
the same thing happens to me. It appears that the alternative orientation
splash screen is shown for a couple of seconds before the stack appears.
On 25 May 2011, at 16:44, Dan Friedman wrote:
> I have an iPad app I am working on. I have created the "-Portrait.png"
> and "-Landscape.pn
On 5/25/11 10:52 AM, Jonathan Lynch wrote:
Hi everyone,
I just wanted to wish any of the folks on this list who might be a geek,
nerd, dork, dweeb, or even a goon, a happy International Geek Pride Day :)
Today, in celebration, I wore a short sleeve button up shirt, a tie that is
tied too short,
I was not!
Where does one find one?
My nine-year-old daughter joined in the fun this morning, wearing socks up
to her knees, braided pig tails, and a similar pair of horned-rim glasses
with tape in the middle.
I really need to hunt down a pocket protector.
I refrained from bringing my light sab
I didn't know about geek day, but by coincidence I'm wearing the tee shirt I
got at this conference:
http://www.geekybynature.com/
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage
Let's say you have an iPad app with two stacks. You have resizeStack messages
in them to resize/locate objects when the user rotates the device. So with the
device in portrait mode, your app launches and stack 1 is open. The user
clicks a button and stack 2 is opened. Then they rotate the de
Actually, "a,b" would be considered a single word both when using the "word
of" format, as well as if the itemdel is space and you use "item of". In
other words...
word 2 of "a,b cd ef" = "cd"
and
set itemdel to space
item 2 of "a,b cd ef" = "cd"
The only real difference between the two for
Slide RULES!
~ Chris Innanen
~ Nonsanity
On Wed, May 25, 2011 at 12:01 PM, J. Landman Gay
wrote:
> On 5/25/11 10:52 AM, Jonathan Lynch wrote:
>
>> Hi everyone,
>>
>> I just wanted to wish any of the folks on this list who might be a geek,
>> nerd, dork, dweeb, or even a goon, a happy Internat
I read Greek Pride day until I opened the thread.
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Happy-International-Geek-Pride-Day-tp3550162p3550285.html
Sent from the Revolution - User mailing list archive at Nabble.com.
__
On 05/25/2011 07:20 PM, Nonsanity wrote:
Slide RULES!
2 of those: 1 English and 1 Russian, on the table in my school; lovely
for working out the kids'
test results and befuddling them.
~ Chris Innanen
~ Nonsanity
On Wed, May 25, 2011 at 12:01 PM, J. Landman Gay
wrote:
On 5/25/11 10:
On 05/25/2011 07:21 PM, Andrew Kluthe wrote:
I read Greek Pride day until I opened the thread.
Stereotypically it would be another type of person "opening the thread"
. . . :)
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Happy-International-Geek-Pride-
Hi Andrew,
Am 25.05.2011 um 18:21 schrieb Andrew Kluthe:
> I read Greek Pride day until I opened the thread.
YES, mee, too!
Ja mas! :-D
Best
Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com
___
use-livecode mailing list
use-livec
"You know you're a geek when you see a movie trailer and you think, 'I have
that typeface.'"
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On May 25, 2011, at 11:52 AM, Jonathan Lynch wrote:
> Hi everyone,
>
> I just wanted to wish any of the folks on this list
Another way to do it. Watch for wrapped lines in email. Replace FAKETAB with
tab after testing is complete.
on mouseUp
set itemDel to space
put fld 1 into v -- input
repeat for each line x in v
if space is in x then
put item 1 of x into a
put item 2 to -1 of x into b
put a & "FAKETAB"
You have a repeat loop that is putting data into theData:
repeat for each line theKey in theKeys
add 1 to i
put theArray["myxml"][theKey] into theData[i]
end repeat
On May 25, 2011, at 7:53 AM, JosepM wrote:
> Hi Trevor,
>
> theData is empty... only have values theArray
Famous cliche for nerds:
"Be nice to nerds, one day you'll work for one."
On Wed, May 25, 2011 at 12:39 PM, Peter Brigham MD wrote:
> "You know you're a geek when you see a movie trailer and you think, 'I have
> that typeface.'"
>
> -- Peter
>
> Peter M. Brigham
> pmb...@gmail.com
> http://home
...thanks for the feedback and insights everyone.
Fortunately my script doesn't need to address every possible set of conditions
that may arise. The source list contains a set of XML nodes and their contents,
so item/word 1 will never contain punctuation - and the list has been
pre-filtered for
Does it count if the glasses I lost at the conference were wire-rimmed and
ghetto-rigged with craft wire?
Judy
On Wed, 25 May 2011, Jonathan Lynch wrote:
Today, in celebration, I wore a short sleeve button up shirt, a tie that is
tied too short, and fake horn rimmed glasses with tape in the m
I found it, I must replace the "myxml" for my xml tag... I have a bad hair
day... :(
Salut,
Josep
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/datagrid-Not-refresh-the-data-after-assign-data-from-an-array-tp3547865p3550684.html
Sent from the Revolution - User m
Hi all.
Do you or someone you know make aviation-related LiveCode programs? An
aircraft company is interested in having a PC and iOS (iPad) standalone
program developed. The app would involve mapping and databases. Please let
me know if you are interested or can point to possible resources.
Thanks,
Thanks for the confirmation Chris - and the insights into how to create an
array of discrete containers (such as a grid), when that becomes appropriate.
Best,
Keith..
On 24 May 2011, at 14:56, Nonsanity wrote:
> Arrays are the way to go there, but if you really do need to work with
> constr
Alright
After abandoning ship on Saturday, I was finally able to watch the
presentations (partly). Great stuff!
John had much interest in his iOS UI creation tool, but none of you volunteered
and brought a photo, boo on you guys! Maybe because of that, he hasn't
publicised his work yet? Until
Ghetto-rigged with craft wire definitely counts!
On Wed, May 25, 2011 at 2:56 PM, Judy Perry wrote:
> Does it count if the glasses I lost at the conference were wire-rimmed and
> ghetto-rigged with craft wire?
>
> Judy
>
>
> On Wed, 25 May 2011, Jonathan Lynch wrote:
>
> Today, in celebration, I
Hello,
What commands or methods are there for downloading and saving a file
(jpg, au, mp3) from my on-rev account to a local computer?
(I'd figure it out on my own but am without an internet connection at
work ever since the earthquake. And am heading out in a few minutes!)
Thanks.
--
Nicolas
Sorry, an addition to my last message. It's more than one file that
needs downloading and saving locally.
And, up to now, I've been using the load command with web files, but
Livecode has been crashing and I think it's memory-related.
--
Nicolas Cueto
On Thu, May 26, 2011 at 2:16 AM, Dan Friedman wrote:
> Let's say you have an iPad app with two stacks. You have resizeStack
> messages in them to resize/locate objects when the user rotates the device.
> So with the device in portrait mode, your app launches and stack 1 is open.
> The user c
> I was watching Ken on the Simulcast, and he was showing a really cool little
> tool to make building custom controls easier. At least I think he was. Or
> maybe I was dreaming :>)
>
> Did that thing get released? Is it available somewhere?
I'm actually very close to releasing it - it's been
On 5/25/11 10:29 PM, Ken Ray wrote:
I was watching Ken on the Simulcast, and he was showing a really cool little
tool to make building custom controls easier. At least I think he was. Or
maybe I was dreaming :>)
Did that thing get released? Is it available somewhere?
I'm actually very clo
On May 25, 2011, at 8:41 AM, Alex Tweedly wrote:
Beware this will get the (possibly) wrong result for some data. For
instance, a comma will terminate a word, so
a,b def
will give you a key of "aTABb def"
rather than a key of "a,TABdef"
Punctuation is not considered a word delimiter, s
yay!
I can't wait.
Todd
On Wed, May 25, 2011 at 8:29 PM, Ken Ray wrote:
>
> > I was watching Ken on the Simulcast, and he was showing a really cool
> little
> > tool to make building custom controls easier. At least I think he was.
> Or
> > maybe I was dreaming :>)
> >
> > Did that thing get
Just to satisfy your curiosity
how long would it take to do a million lines?
-- working code
on trythisForSpeed
put 100100 into weaponOfMassConstruction
repeat weaponOfMassConstruction times
get the seconds
put IT && IT && IT & cr after massiveList
end rep
In the revBrowser entries in Dictionary I see two methods for the stack to
call a JavaScript function in the loaded Web page, but I don't see anything
about passing data or making calls in the opposite direction: from the Web
page to the stack.
Since I write the Web pages that get loaded in my rev
45 matches
Mail list logo