Subject: Installer (was Drag Drop...)

2002-09-17 Thread Don Watson

on 9/16/02 12:01 PM, [EMAIL PROTECTED] at
[EMAIL PROTECTED] wrote:

 If anyone would be interested in looking at the simple installer stack (Bill
 Lynn?) I'd be happy to email it or upload it someplace. Although it is set
 up for Windows, it could easily be modified (simplified) for the Mac.
 
 Bob

Bob,

I would be very much interested in looking at your installer stack.

TIA
Don Watson

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: (no subject)

2002-09-17 Thread Richard Gaskin

Jerry Thomas wrote:

 What would you recommend to use with Revolution as a database method?
 These databases are only two dimensional. ROWS are Income in graduated steps
 and COLUMNS are Number of Children.
 All of your suggestions are welcome

What is the acticipated total size of the dataset (db only, not any of the
media or UI elements)?

If it's under 5MBs you have a lot of choices, perhaps the easiest of which
would be a simple tab-delimited file or an array.

If it's much larger than that you may want to consider using the db
externals provided with Rev.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 Developer of WebMerge 2.0: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: gzip Mac File Types

2002-09-17 Thread Rob Cozens

Richard, et al:


In fact, if you later find you need to add any other info at all (such as
directives on what to do with the uncompressed files -- run them in an app,
leave 'em be, etc.) you can just add another property or property array to
the stack file, and you never need to worry about breaking your format.

It's still a file; bit now I'm bringing over all info returned for 
the file in the detailed files list...now and in the future.  A side 
benefit of this change is the decompress can default to the original 
file name for the ask file dialog.
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee.

from The Triple Foole by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: use-revolution digest, Vol 1 #693 - 8 msgs

2002-09-17 Thread Fred_D_Yocum






[EMAIL PROTECTED] on 09/16/2002 12:01:39 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Fred D Yocum/MCC)
Subject:  use-revolution digest, Vol 1 #693 - 8 msgs






Send use-revolution mailing list submissions to
 [EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.runrev.com/mailman/listinfo/use-revolution
or, via email, send a message with subject or body 'help' to
 [EMAIL PROTECTED]

You can reach the person managing the list at
 [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of use-revolution digest...


Today's Topics:

   1. QT initialization on OS X 10.2 (Kurt Kaufman)
   2. Rev  XP (sims)
   3. send a message to n cards (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=)
   4. Re: send a message to n cards (Jan Schenkel)
   5. Re: send a message to n cards (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=)
   6. Re: gzip  Mac File Types (Rob Cozens)
   7. Installer (was Drag  Drop...) (Bob Arnold)
   8. Re: Installer (was Drag  Drop...) (Rick Harrison)

--__--__--

Message: 1
Date: Mon, 16 Sep 2002 09:06:04 -0400
Subject: QT initialization on OS X 10.2
From: Kurt Kaufman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

Under 10.2, RR's QT initialization seems to work more effectively.
Whereas, under 10.1, a QT version check would not do a thing in terms
of speeding up the subsequent initial call to QT (resulting in a
spinning beachball), under 10.2.no wait and no more beachball.
Also, unrelated but interesting, under OS 10.2/QT 6, the QT musical
instruments (Roland samples) have been modified such that there is
always a slight reverb (apparently more pronounced at the end of a MIDI
sequence, for example, or maybe just more audible at that point since
there are no more notes being played).
KK


--__--__--

Message: 2
Date: Mon, 16 Sep 2002 16:17:18 +0300
To: [EMAIL PROTECTED]
From: sims [EMAIL PROTECTED]
Subject: Rev  XP
Reply-To: [EMAIL PROTECTED]

The Rev web site states:

Revolution supports these platforms for both development and deployment:

Mac OS 7.1 and later

Mac OS X

Windows 95, 98, ME, NT, 2000

etc etc


--Questions

1. Does the current libUrl work ok all the way back to Mac OS 7.1?

2. Windows XP is not listed, any particular reason why? Does Rev work as well
on XP as the other Windows?

TIA

sims



___

http://EZPZapps.com [EMAIL PROTECTED]
   Software - Internet Development - Consulting

--__--__--

Message: 3
From: =?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: send a message to n cards
Date: Mon, 16 Sep 2002 16:23:32 +0200
Reply-To: [EMAIL PROTECTED]

This is a multi-part message in MIME format.

--=_NextPart_000_0005_01C25D9D.65EDD810
Content-Type: text/plain;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

hello,


I need a script that send a message from a stack to all the cards of =
this stack.
how can I write it?

thanks


-=

Sylvain Le Gourri=E9rec  --  d=E9veloppement  -- son-video-distribution  =
 www.son-video.com

- I am working with Windows 2000, Revolution 1.1.1, MySQL =
3.23  PHP 4

--=_NextPart_000_0005_01C25D9D.65EDD810
Content-Type: text/html;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=3DContent-Type content=3Dtext/html; =
charset=3Diso-8859-1
META content=3DMSHTML 6.00.2600.0 name=3DGENERATOR
STYLE/STYLE
/HEAD
BODY bgColor=3D#ff
DIVFONT face=3DArial size=3D2hello,/FONT/DIV
DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV
DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV
DIVFONT face=3DArial size=3D2I need a script that send a message =
from a stack to=20
all the cards of this stack./FONT/DIV
DIVFONT face=3DArial size=3D2how can I write it?/FONT/DIV
DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV
DIVFONT face=3DArial size=3D2thanks/FONT/DIV
DIVnbsp;/DIVFONT face=3DArial size=3D2
DIVBR=
-=
BRSylvain=20
Le Gourri=E9recnbsp; =97=97nbsp; d=E9veloppementnbsp; =97=97=20
son-video-distributionnbsp;nbsp; A=20
href=3Dhttp://www.son-video.com;www.son-video.com/A/DIV
DIVnbsp;/DIV
DIV- I am working with Windows 2000, Revolution 1.1.1, =
MySQL 3.23=20
amp; PHP 4/FONT/DIV/BODY/HTML

--=_NextPart_000_0005_01C25D9D.65EDD810--


--__--__--

Message: 4
Date: Mon, 16 Sep 2002 07:40:39 -0700 (PDT)
From: Jan Schenkel [EMAIL PROTECTED]
Subject: Re: send a message to n cards
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

Hi Sylvain,

Try putting this in your stack script:

on sendAllCards pMessage
  

Re: Stacks delivered via the web?

2002-09-17 Thread Sannyasin Sivakatirswami


 Re: Stacks delivered via the web?

How it works

Well, I think a lot of you have already seen this site, but for those 
who haven't

http://www.himalayanacademy.com/studyhall/

could be considered a fair example of  how it works. Since the initial 
stub program is delivered (downloaded from) by the web and there are

a) no CD's shipped
b) No FTP clients required
c) no emails with attachments involved and
d) the only way to access it initially is through a web browser...

perhaps it will fit the myopic overlords criteria for  Web Based. At 
any rate a good case could be made that it is.

Note, I built this site nearly 3 ago and never had time to take it 
further. But it still works and Mystic Mouse for kids gets lots of 
hits. And the registration page  in the Portal  is broken...

hth

Himalayan Academy Publications

Sannyasin Sivakatirswami
Editor's Assistant/Production Manager
[EMAIL PROTECTED]
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org

Read The Master Course Lesson of the Day at
http://www.gurudeva.org/lesson.shtml

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Rev XP

2002-09-17 Thread miscdas

I lurk several other forums for multimedia authoring apps and note that XP 
users seem to run into problems with various functions (especially video 
related, and more oten with QT than other formats) that run fine on all othe 
Win OS from 95 upwards. In other words, if you run under XP and have a 
problem, suspect XP to be the culprit, not RR. 

miscdas 


Monte Goulding writes: 

 I hope so! I develop all my software using XP. However, I keep whining about
 theme support. Please can we get nice looking Win apps soon! I want to have
 my apps look stunning when someone has the OS X theme installed. 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of sims
 Sent: Monday, 16 September 2002 10:47 PM
 To: [EMAIL PROTECTED]
 Subject: Rev  XP 


 The Rev web site states: 

 Revolution supports these platforms for both development and deployment: 

 Mac OS 7.1 and later 

 Mac OS X 

 Windows 95, 98, ME, NT, 2000 

 etc etc 


 --Questions 

 1. Does the current libUrl work ok all the way back to Mac OS 7.1? 

 2. Windows XP is not listed, any particular reason why? Does Rev
 work as well
 on XP as the other Windows? 

 TIA 

 sims 

 

 ___ 

 http://EZPZapps.com [EMAIL PROTECTED]
Software - Internet Development - Consulting
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution 

 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



repeat for each-button or field list

2002-09-17 Thread Sannyasin Sivakatirswami

Why doesn't this work?

  repeat for each button x in this stack
 put  x  cr after tButtonList
   end repeat
   put tButtonList

or

  repeat for each field x in this stack
 put  x  cr after tFieldList
   end repeat
   put tFieldList

??
  Goal: take all values in fields of a card and poke them into an array 
where
each key is the name of the field and its value is the contents of the 
field

fieldName[itsContents]


Himalayan Academy Publications

Sannyasin Sivakatirswami
Editor's Assistant/Production Manager
[EMAIL PROTECTED]
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org

Read The Master Course Lesson of the Day at
http://www.gurudeva.org/lesson.shtml

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: repeat for each-button or field list

2002-09-17 Thread David Vaughan


On Wednesday, Sep 18, 2002, at 06:44 Australia/Sydney, Sannyasin 
Sivakatirswami wrote:

 Why doesn't this work?

  repeat for each button x in this stack
 put  x  cr after tButtonList
   end repeat
   put tButtonList

...because button and field are not chunk types


  Goal: take all values in fields of a card and poke them into an array 
 where
 each key is the name of the field and its value is the contents of the 
 field

I think you will need to use repeat with x = 1 to the number of 
buttons of this stack and reference button (field) x to get its name 
and contents.

regards
David

 fieldName[itsContents]


 Himalayan Academy Publications

 Sannyasin Sivakatirswami
 Editor's Assistant/Production Manager
 [EMAIL PROTECTED]
 www.HinduismToday.com, www.HimalayanAcademy.com,
 www.Gurudeva.org, www.hindu.org

 Read The Master Course Lesson of the Day at
 http://www.gurudeva.org/lesson.shtml

 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



arrays in custom properties--not possible?

2002-09-17 Thread Sannyasin Sivakatirswami

on storePrefs
   repeat with x = 1 to (the number of fields of this stack)
 put  fld x into gPrefsArray[the short name of fld x]
   end repeat
   set the cPrefs of this stack to gPrefsArray
end storePrefs

the above fails, apparently because the attempt to set a custom 
property to an array is unacceptable. Is this a known limitation? Tell 
me its not so...

Thanks
Himalayan Academy Publications

Sannyasin Sivakatirswami
Editor's Assistant/Production Manager
[EMAIL PROTECTED]
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org

Read The Master Course Lesson of the Day at
http://www.gurudeva.org/lesson.shtml

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Passing contents of a variable to a regular expression

2002-09-17 Thread Sannyasin Sivakatirswami

I have a stack where editors are to use a single character to  tag a 
word to be deleted... But I want them to be able to custom select the 
character to serve as this delimiter, store that as a preference and 
then later pull it into a regular expression... but I don't see how to 
do that:
(Thanks to Ken Ray for getting me this far!)

on cleanUpEditedOriginal
   put fld deleteDel of stack prefs into lDeleteDel
  ## assume its an * asterisk for this test
   put fld original into jai
   repeat until tToggle = 1
 if matchtext (jai,(\(.*?\)),tDeletion) then
## in this case () are wrapping text to be deleted.
## but we want to use the contents of lDeleteDel  in this 
expression
## as in something like: (\[lDeleteDel].*?\[lDeleteDel])
## which would resolve to (\*.*?\*) in this case
## where lDeleteDel is an * (asterisk--but it could be any 
single char)
   replace tDeletion with  in jai
 else
   put 1 into tToggle
 end if
   end repeat
   replacewith   in jai
   put jai into fld clean
end cleanUpEditedOriginal

Any clues?


Thanks!
Himalayan Academy Publications
Sannyasin Sivakatirswami
Editor's Assistant/Production Manager
[EMAIL PROTECTED]
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: arrays in custom properties--not possible?

2002-09-17 Thread Dave Cragg

At 11:12 am -1000 17/9/02, Sannyasin Sivakatirswami wrote:
on storePrefs
   repeat with x = 1 to (the number of fields of this stack)
 put  fld x into gPrefsArray[the short name of fld x]
   end repeat
   set the cPrefs of this stack to gPrefsArray
end storePrefs

the above fails, apparently because the attempt to set a custom
property to an array is unacceptable. Is this a known limitation?
Tell me its not so...

I think you want this:

set the customProperties[cPrefs] of this stack to gPrefsArray

Cheers
Dave
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Stacks delivered via the web?

2002-09-17 Thread Richard K. Herz

 Could someone describe to me, on or off-list depending how much you
 anticipate everyone's gonna groan, just how the below works?  I am not
 certain I am understanding it well enough to present it as a potential
 solution to the department...

 Judy

My version of doing this is posted at

http://mechanics.ucsd.edu/research/herz/web_24/

The stacks could be designed to look like web pages, if that's what your
instructors need to see.  Note the link to the engine source just above
the screen shots.

With load and get url, I've encountered problems on Win XP, only, in trying
to make a second socket connection after the first times-out.  If anyone
else is sees that problem, please report it to [EMAIL PROTECTED]

Rich Herz
[EMAIL PROTECTED]



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Speed

2002-09-17 Thread Jim Hurley
Title: Speed


I have a question about optimization.

I am helping a local candidate with their database. It is a large
county election database which I have imported into a field within
Rev.

This is a voter database in which we would like to identify a
single addresses for all voters within a given households so that we
do not have to send multiple letters to individual voters within the
same household. This makes a big difference in mailing costs.

I found that my original program runs prohibitively slowly.

But I find when I break up the data into smaller blocks, things
run much more rapidly. For example I use the following code:

 repeat with k = 0 to 8
 put line k*1000
to (k+1)*1000+1 of tField into temp
 put
identifyUniqueAddresses(temp) into a[k]
 end
repeat

so that the data in the variable tField is broken up into 9
chunks of 1000 lines each. Later I reassemble the results from the
array, a[k].

If instead I try to run the whole field at once using:


identifyUniqueAddressess(tField)

I would have to wait all day for the data in tField to
process.

(I have not found a was to use:

 repeat
for each line tLine in tField

I have to be able to discover whether *successive* lines in the
sorted data share the same address.)

Now I'm sure my handler, identifyUniqueAddresess, is not the most
efficient code, but my question is this: Why does the handler
run so much more rapidly working on several smaller chunks which are
later reassembled rather than all at once? 

I suspect the problem may be successively pulling up lines of
text from a very long list of lines. Would it help if I first put the
lines into an array and then worked with the array?

Is there an optimizer out there? Gentlemen and gentle ladies,
start your engines.




-- 
Jim Hurley



Re: Passing contents of a variable to a regular expression

2002-09-17 Thread Ken Ray

Sannyasin,

Thanks for the kudos. Here's what you can do - you can simply make the
regular expression into a variable. Keep in mind that you may actually have
*two* identifiers (and open paren and a close paren in this case), so you'll
either need two preferences, or one preference that could be two characters
long. Also, I noted that your matchText function assumes you have a local
variable tDeletion that was not declared in your posted code, so I added it.

on cleanUpEditedOriginal
  local tDeletion
  put fld deleteDel of stack prefs into lDeleteDel
  if (length(lDeleteDel)  2) or (length(lDeleteDel = 0) then
answer Bad Delimiter Length
exit cleanUpEditedOriginal
  else
if length(lDeleteDel) = 2 then
  put char 1 of lDeleteDel into tOpenDel
  put char 2 of lDeleteDel into tCloseDel
else
  put lDeleteDel into tOpenDel
  put lDeleteDel into tCloseDel
end if
  end if

  put fld original into jai
  put (\  tOpenDel  .*?  \  tCloseDel  ) into regEx
  repeat until tToggle = 1
if matchtext (jai,regEx,tDeletion) then
  replace tDeletion with  in jai
else
  put 1 into tToggle
end if
  end repeat
  replacewith   in jai
  put jai into fld clean
end cleanUpEditedOriginal

Note that not all characters need to be escaped with a \. So you'd need to
adjust the code to optionally escape the characters that need to be escaped,
and leave alone the ones that don't.

Hope this helps,

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/



- Original Message -
From: Sannyasin Sivakatirswami [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 4:33 PM
Subject: Passing contents of a variable to a regular expression


 I have a stack where editors are to use a single character to  tag a
 word to be deleted... But I want them to be able to custom select the
 character to serve as this delimiter, store that as a preference and
 then later pull it into a regular expression... but I don't see how to
 do that:
 (Thanks to Ken Ray for getting me this far!)

 on cleanUpEditedOriginal
put fld deleteDel of stack prefs into lDeleteDel
   ## assume its an * asterisk for this test
put fld original into jai
repeat until tToggle = 1
  if matchtext (jai,(\(.*?\)),tDeletion) then
 ## in this case () are wrapping text to be deleted.
 ## but we want to use the contents of lDeleteDel  in this
 expression
 ## as in something like: (\[lDeleteDel].*?\[lDeleteDel])
 ## which would resolve to (\*.*?\*) in this case
 ## where lDeleteDel is an * (asterisk--but it could be any
 single char)
replace tDeletion with  in jai
  else
put 1 into tToggle
  end if
end repeat
replacewith   in jai
put jai into fld clean
 end cleanUpEditedOriginal

 Any clues?


 Thanks!
 Himalayan Academy Publications
 Sannyasin Sivakatirswami
 Editor's Assistant/Production Manager
 [EMAIL PROTECTED]
 www.HinduismToday.com, www.HimalayanAcademy.com,
 www.Gurudeva.org, www.hindu.org

 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: arrays in custom properties--not possible?

2002-09-17 Thread David Vaughan


On Wednesday, Sep 18, 2002, at 07:12 Australia/Sydney, Sannyasin 
Sivakatirswami wrote:

 on storePrefs
   repeat with x = 1 to (the number of fields of this stack)
 put  fld x into gPrefsArray[the short name of fld x]
   end repeat
   set the cPrefs of this stack to gPrefsArray
 end storePrefs

 the above fails, apparently because the attempt to set a custom 
 property to an array is unacceptable. Is this a known limitation? 
 Tell me its not so...

Tis so... except as Dave Cragg pointed out. Your other alternative is 
to use a custom property as an array, directly, rather than setting it 
to an array. So, refer to cPrefs[the short name of field x] and skip 
the gPrefsArray bit.

cheers
David

 Thanks
 Himalayan Academy Publications

 Sannyasin Sivakatirswami
 Editor's Assistant/Production Manager
 [EMAIL PROTECTED]
 www.HinduismToday.com, www.HimalayanAcademy.com,
 www.Gurudeva.org, www.hindu.org

 Read The Master Course Lesson of the Day at
 http://www.gurudeva.org/lesson.shtml

 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Speed

2002-09-17 Thread David Vaughan

On Wednesday, Sep 18, 2002, at 10:37 Australia/Sydney, Jim Hurley wrote:

I have a question about optimization.

Jim

Two answers.

Yes, your revised code runs faster because you are breaking it into chunks (I assume in both instances you are dealing with a variable and not a field). Using an array structure may be faster if you find a sensible way to do it.

However, repeat for each will work for you, so long as you "remember" the last line, discarding it for the new one only when it no longer matches. Practically any additional processing you do during the repeat for each loop will be negligible in its time cost compared with indexing through with a variable, so you can even handle multiple lines this way, or extract a block comprising one multi-line address each time.

regards
David
I am helping a local candidate with their database. It is a large county election database which I have imported into a field within Rev.

This is a voter database in which we would like to identify a single addresses for all voters within a given households so that we do not have to send multiple letters to individual voters within the same household. This makes a big difference in mailing costs.

I found that my original program runs prohibitively slowly.

But I find when I break up the data into smaller blocks, things run much more rapidly. For example I use the following code:

 repeat with k = 0 to 8

    put line k*1000 to (k+1)*1000+1 of tField into temp

    put identifyUniqueAddresses(temp) into a[k]

  end repeat



so that the data in the variable tField is broken up into 9 chunks of 1000 lines each. Later I reassemble the results from the array, a[k].

If instead I try to run the whole field at once using:

   identifyUniqueAddressess(tField)

I would have to wait all day for the data in tField to process.

(I have not found a was to use:

   repeat for each line tLine in tField

I have to be able to discover whether *successive* lines in the sorted data share the same address.)

Now I'm sure my handler, identifyUniqueAddresess, is not the most efficient code, but my question is this:  Why does the handler run so much more rapidly working on several smaller chunks which are later reassembled rather than all at once?

I suspect the problem may be successively pulling up lines of text from a very long list of lines. Would it help if I first put the lines into an array and then worked with the array?

Is there an optimizer out there? Gentlemen and gentle ladies, start your engines.

 

--
Jim Hurley


Re: Speed

2002-09-17 Thread Dar Scott


On Tuesday, September 17, 2002, at 06:37 PM, Jim Hurley wrote:

 Now I'm sure my handler, identifyUniqueAddresess, is not the most 
 efficient code, but my question is this:  Why does the handler run 
 so much more rapidly working on several smaller chunks which are 
 later reassembled rather than all at once?

 I suspect the problem may be successively pulling up lines of text 
 from a very long list of lines. Would it help if I first put the 
 lines into an array and then worked with the array?

Are you referring to lines by number?  I wonder whether that would 
require counting lines from the front every time.  Removing or 
changing lines in the middle?  You might be better off consuming 
lines from the front of the list and appending consolidated lines 
to the end of another list.

The array idea sounds good, too.

Well, to my naive mind, anyway.

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



ANN: libXMLtext v0.5

2002-09-17 Thread Monte Goulding


Hi All

Just a quick note to announce version 0.5 of libXMLtext. Only a couple of
changes in this version.
- It now has OS X style flippers when it's used on OS X.
- It now expands when you click on the text and as well as the flipper.
- It now uses the hiliteColor on Mac platforms rather than the accentColor
as on windows for hiliting the currently selected level.

It's available at http://www.sweattechnologies.com/rev

Cheers

Monte Goulding
B.App.Sc. (Hons.)

Executive Director
Sweat Technologies

email: [EMAIL PROTECTED]
website: www.sweattechnologies.com
mobile: (+61) 0421 138 274


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution