Re: Testing for numerics

2006-10-04 Thread Mark Smith
Robert, though this has nothing to do with type-checking, you can initialise variables to whatever you like when you declare them, so global gAGlobal = empty local aLocal = null Best, Mark On 5 Oct 2006, at 08:47, Robert Sneidar wrote: I think this underscores the need for REAL type

Re: Testing for numerics

2006-10-04 Thread Mark Smith
I think this can be simpler: return (pValue is an integer) AND (pValue = 0) Obviously, if it's an integer, it's also a number, and in this context it might be better to avoid 'trunc' since in some circumstances, (there is a thread from a while back about this) trunc returns a non-integer

Re: Grouped objects losing grouping but not!

2006-10-02 Thread Mark Smith
James, are you sure you didn't accidentally toggle 'select grouped' in the Rev toolbar? Best, Mark On 2 Oct 2006, at 06:57, James Hale wrote: Hi, Recently I needed to group some objects on a card. I selected the objects and then selected the Group command from the menu. Great,

Re: Testing for numerics

2006-10-02 Thread Mark Smith
True. So we have if fld someTextField is an integer, and we can always test for 0, =0, etc. as required. Best, Mark On 2 Oct 2006, at 16:08, Rob Cozens wrote: Francis, Mark, et al: Is this the right way to check for numerics, and if so, what have I done wrong ? Try if field

Re: Waiting until a player is loaded

2006-10-01 Thread Mark Smith
Would making something else happen in the loop force the screen to refresh? Perhaps setting and un-setting the hilite of a button or something. Best, Mark On 1 Oct 2006, at 06:42, J. Landman Gay wrote: Dar Scott wrote: On Sep 30, 2006, at 8:05 PM, J. Landman Gay wrote: However, if I

Re: Simple question

2006-10-01 Thread Mark Smith
Dave, you might do better setting and un-setting the 'visible' property of your 'splash' stack, keeping it open but invisible most of the time. Best, Mark On 1 Oct 2006, at 17:10, Dave Herndon wrote: What is the best way to open a splash style stack from a standalone to load some

Re: edit xmp metadata: developers needed

2006-09-27 Thread Mark Smith
Henk, at http://support.adobe.com/devsup/devsup.nsf/docs/51844.htm it describes a typical xmp packet as: ?xpacket begin='x' id='W5M0MpCehiHzreSzNTczkc9d'? ... 700 bytes of XML data text ... ... 500 bytes of XML whitespace as padding ... ?xpacket end='w'? so if I understand this right,

Re: Cold Panic

2006-09-27 Thread Mark Smith
Robert, not that this should make a difference, but have you tried 'open file mfile for read'? Maybe it's a bit pickier on Intel... best, Mark On 27 Sep 2006, at 23:47, Robert Sneidar wrote: Hi Chipp. For this example put URL works fine. (I have both methods in the script now to test each

Re: Saving App-Specific Docs

2006-09-26 Thread Mark Smith
You might consider using a stack file. By the inherent nature of a stack, you can save your data in a structured way that is very easy for your app to read back in. To make it secure, you can encrypt, compress or even password protect depending on how far you want to go. An empty, newly

Re: Problem with visualization of a big network

2006-09-26 Thread Mark Smith
You might try making a group that is big enough to contain all the buttons, setting it's lock location to true and turning it's scroll bars on - this way, the user can scroll to whatever part of the network he/she needs to see. Best, Mark On 26 Sep 2006, at 13:55, KALANGI Vijay BABU

Re: about Galaxy

2006-09-26 Thread Mark Smith
I don't think I've seen this outside of the Rev IDE, but there, the one that breaks for me is cmd-S - until I choose the save option from the menu, and then cmd-S starts working again. I haven't bugzilla'd it, as I really can't recreate it at will, but it happens in most sessions. :(

Re: zero-width column boundaries?

2006-09-20 Thread Mark Smith
Assuming that I've understood the problem, putting this into the script of the field concerned might work: on setMaxTab lock screen put the text of me into savedText repeat for each line L in savedText if L contains tab then put L tab after tabData end repeat put tabData into me

Re: MIDI - more Rev resources

2006-09-19 Thread Mark Smith
Luis, I think Jaque meant the standard midi file format, which Quicktime, and therefore the Rev Player Object can read. If what you want to do is to create midi data on the fly and send it to midi devices (rev player, soft-synth, hardware, whatever), I don't think we can currently do that

Re: simple mailto hack (Re: Digest Reply Link)

2006-09-19 Thread Mark Smith
Mark, looking at the raw source of the last digest I have, there really is none of what you describe. I wonder if Mac Mail is actually changing things, though you'd then have to wonder about the point of even having the option to view the raw source I'll happily send you a sample of

Re: MIDI - more Rev resources

2006-09-19 Thread Mark Smith
I suppose the get out is MIDI music file creation and playing. Best, Mark On 19 Sep 2006, at 20:17, Stephen Barncard wrote: Actually, I'd expect 'MIDI music file creation and playing' to mean able to PLAY midi signals through midi ports connected to a machine as well sqb Luis

Re: simple mailto hack (Re: Digest Reply Link)

2006-09-19 Thread Mark Smith
: On Sep 19, 2006, at 11:38 AM, Mark Smith wrote: Mark, looking at the raw source of the last digest I have, there really is none of what you describe. I wonder if Mac Mail is actually changing things, though you'd then have to wonder about the point of even having the option to view the raw

Re: simple mailto hack (Re: Digest Reply Link)

2006-09-18 Thread Mark Smith
Mark, in the digests I have, this does not seem to be the case. Both the whole digest and each individual message have Content-Type: text/plain; charset=US-ASCII in their respective headers, with no mention of rfc822 anywhere to be found... best, Mark On 18 Sep 2006, at 17:35, Mark Wieder

Re: simple mailto hack (Re: Digest Reply Link)

2006-09-18 Thread Mark Smith
Well, the last digest I have is July 28th 2005 - maybe it's changed since then. On 19 Sep 2006, at 01:30, Mark Wieder wrote: Mark- Monday, September 18, 2006, 10:06:08 AM, you wrote: Mark, in the digests I have, this does not seem to be the case. Both the whole digest and each individual

Re: writing to binary data at arbitrary position

2006-09-15 Thread Mark Smith
Assuming you have your three binary bytes in a variable binBytes : put binBytes after char 456 of myVar Best, Mark On 15 Sep 2006, at 19:09, Viktoras Didziulis wrote: What is the fastest way (in Rev), for instance, to insert 3 bytes of binary data after the 465th byte of data stored in

Re: Is it possible to set just one word of a text to bold ?

2006-09-12 Thread Mark Smith
Willam, try this: put the HtmlText of fld pva cr before tData set the htmlText of fld pva to tData Best, Mark On 12 Sep 2006, at 17:32, William de Smet wrote: put tData after the last line of fld pva of card Plan van aanpak set the htmlText of fld pva of card Plan van aanpak to tData

Re: remove html tags from text

2006-09-10 Thread Mark Smith
On 10 Sep 2006, at 16:26, Richard Gaskin wrote: So until someone can demonstrate otherwise, I'm sticking with using fields to strip tags from text. Though doesn't this approach fail with legitimate characters in code (or other) tags? Of course, that may not be important in your

Re: remove html tags from text

2006-09-09 Thread Mark Smith
On 9 Sep 2006, at 03:57, Richard Gaskin wrote: So I have two questions about the sort of variable-based methods for filtering SGML-style tags and using a field object to so the same: 1. Which is more forgiving of html which may not be well-formed? 2. Which is faster? A quick initial

Re: Date Comparison Problems (was Date)

2006-09-09 Thread Mark Smith
I think the main thing is that the keys of an array in Revolution are not in any particular order, so when you combine TheDOB with /, you proabaly don't have the elements in the right order (see the recent the keys of my array thread). Best, Mark On 9 Sep 2006, at 22:50, Ian McKnight

Re: Age calculation script

2006-09-08 Thread Mark Smith
function getAge bDay put 60 * 60 * 24 * 365 into secsPerYear put secsPerYear / 12 into secsPerMonth put the seconds into tDay -- assuming date of birth is given in short system date format convert bDay from short system date to seconds put tDay - bDay into tAgeInSecs put

Re: remove html tags from text

2006-09-08 Thread Mark Smith
barely tested, but maybe a starting point: function striptags tHtml replace cr with empty in tHtml -- in case of multi-line tags replace with cr in tHtml replace with cr in tHtml filter tHtml without ** filter tHtml without ** return tHtml end striptags best, Mark On 8

Re: Age calculation script

2006-09-08 Thread Mark Smith
. greetings, William de Smet 2006/9/8, Mark Smith [EMAIL PROTECTED]: function getAge bDay put 60 * 60 * 24 * 365 into secsPerYear put secsPerYear / 12 into secsPerMonth put the seconds into tDay -- assuming date of birth is given in short system date format convert bDay from short

Re: Age calculation script

2006-09-08 Thread Mark Smith
replacing put 60 * 60 * 24 * 365 into secsPerYear with put (60 * 60 * 24 * 365) + (60 * 60 * 6) into secsPerYear ie. adding a quarter of a days seconds to sescPerYear seems to fix it, at least for age 30ish. Best, Mark On 8 Sep 2006, at 14:36, Mark Smith wrote: Actually, the other way

Re: Age calculation script

2006-09-08 Thread Mark Smith
This is to do with where the centuryCutoff is - if you set it to 5, you should get the expected answer (100 yrs, 0 months), I think. best Mark On 8 Sep 2006, at 14:55, [EMAIL PROTECTED] wrote: 2006/9/8, Mark Smith [EMAIL PROTECTED]: function getAge bDay put 60 * 60 * 24 * 365

Re: Age calculation script

2006-09-08 Thread Mark Smith
On 8 Sep 2006, at 15:07, Mark Smith wrote: This is to do with where the centuryCutoff is - if you set it to 5, you should get the expected answer (100 yrs, 0 months), I think. I should have added that 9/1/1906 is not really a valid short date, I don't think - I think the engine simply

Re: Changing date order?

2006-09-08 Thread Mark Smith
Alvaro - you may need to use 'the short system date', rather than just 'the short date' - depending on what your system is. Here in the UK, using a UK-localised mac OS X, the short system date gives dd/mm/yy. As far as I know, 'the short date' or 'the date' will always use the US

Re: remove html tags from text

2006-09-08 Thread Mark Smith
To reveal yet more of my ignorance, is it likely (certain?) that and that are not tag-ends will be urlEncoded (%3C and %3E, I think)? Best, Mark On 8 Sep 2006, at 18:18, Richard Gaskin wrote: For example, how does it account for and which may appear in quoted strings or comments?

Re: remove html tags from text

2006-09-08 Thread Mark Smith
2006, at 20:07, Mark Smith wrote: To reveal yet more of my ignorance, is it likely (certain?) that and that are not tag-ends will be urlEncoded (%3C and %3E, I think)? Best, Mark On 8 Sep 2006, at 18:18, Richard Gaskin wrote: For example, how does it account for and which may appear

Re: Remote Desktop issues with RR

2006-09-05 Thread Mark Smith
Not that it's likely to be much help, but I've not had this problem using VNC Best, Mark On 5 Sep 2006, at 23:05, [EMAIL PROTECTED] wrote: I have confirmed that standalone apps created with Revolution (all versions including 2.7.3) do not render the display correctly when using

ANN: AudioWaveform update

2006-09-04 Thread Mark Smith
I've updated my AudioWaveform control. The new version is MinAudioWaveform 1.0, and I've taken out the player, zoom and scroll functions, so it's a bit smaller and simpler. I've also (I hope) finally dealt with the peculiarities of AIF files and squashed some big/little-endian bugs which

Re: OT - Get Poser 5 Free During Labor Day Weekend

2006-09-03 Thread Mark Smith
Are you sure they don't glue it down, just in case? :) Mark On 3 Sep 2006, at 11:17, Mark Schonewille wrote: At the Dutch National Bank they challenge visitors to pick up a bar of gold with one hand. If you manage, you can take it home. Mark --

Re: OT - Get Poser 5 Free During Labor Day Weekend

2006-09-03 Thread Mark Smith
Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 3-sep-2006, om 12:26 heeft Mark Smith het volgende geschreven: Are you sure they don't glue it down, just in case? :) Mark

Re: Am I in the right place?

2006-09-02 Thread Mark Smith
Shari, you are in the right place. It's just unusually quiet at the moment - maybe the holiday weekend? Best, Mark On 2 Sep 2006, at 15:02, Shari wrote: Something must be amiss... I did not get my own post sent back to me. So I've added this list to my buddy list and am trying again. If

Re: How I can to save files .txt on internet?

2006-08-30 Thread Mark Smith
Alvaro, you can include the username and password as part of the URL: ftp://username:[EMAIL PROTECTED]/directory/file Best, Mark On 30 Aug 2006, at 22:41, Alvaro Abril - Tecnologia wrote: Thank you Klauss ... Good instructions, but where we can I to place the username and password of the

Re: finding repeating patterns

2006-08-27 Thread Mark Smith
Here's my version: function getRepeatingPatterns tString,minLength,maxLength set the caseSensitive to true repeat with n = minLength to maxLength put empty into testString put 0 into charCount repeat for each char c in tString put c after testString get

Re: Timeout for a shell command?

2006-08-24 Thread Mark Smith
Jim, from the curl manual: --connect-timeout seconds Maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once curl has connected this option is of no more use. See also the

Re: Timeout for a shell command?

2006-08-24 Thread Mark Smith
second timeout Jim Ault Las Vegs On 8/24/06 11:57 AM, Jim Ault [EMAIL PROTECTED] wrote: Thanks, I did not see that in the docs.. must have been late and my eyes... oh well. Jim Ault Las Vegas On 8/24/06 2:42 AM, Mark Smith [EMAIL PROTECTED] wrote: Jim, from the curl manual: --connect

Re: RunRev logos

2006-08-22 Thread Mark Smith
Do you really mean to say that since Rev apparently doesn't provide the cost/benefit that you want, any and all of 'us' are wearing 'blinders' if we have had a different experience? That is fairly insulting. Still, best of luck, Mark On 22 Aug 2006, at 20:44, Garrett Hylltun wrote: The

Re: FTP with SSL/TLS

2006-08-22 Thread Mark Smith
On 22 Aug 2006, at 21:41, Dave Cragg wrote: FTP over SSL/TLS is different from SFTP (FTP over SSH), I believe. It's a while since I looked at this, but I think FTP over SSL/TLS would probably be easier to implement. However, I think the engine still needs a way to negotiate a secure

Re: text into a tabstopped field

2006-08-20 Thread Mark Smith
On 20 Aug 2006, at 09:19, Jim Ault wrote: Major Caveat! the item in Rev does not always mean what you may think it should. The number of items in a,b,c,d,e,f,g is 7 The number of items in a,b,c,d,e,f, is 6 The number of items in a,b,c,d,e,, is 6 The number of items in a,, is 6 It is the

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-20 Thread Mark Smith
Andre, just out of interest, is there an advantage in using curl rather than libURL? Best, Mark On 16 Aug 2006, at 19:36, Andre Garzia wrote: it's -s just tried it out... it works like a charm, no need for libURL. ___ use-revolution mailing

Re: text into a tabstopped field

2006-08-19 Thread Mark Smith
set the itemDelimiter to tab put someInfo into item 2 of line n of fld someField On the other hand, if you're making many updates at once and the field contains a lot of data, it might be more efficient to put the field into a variable, update the variable and then put the variable back

Re: Scrolling List Field

2006-08-17 Thread Mark Smith
John, I may have this wrong, but don't you need to map the Am (two chars) to the appropriate (single) character of the tab font, like you do when setting the chordField field? Mark On 17 Aug 2006, at 06:14, John Baxter wrote: Mark, Thanks for your help. I'm getting there, but there are

Re: HTML Tag Cleaner Fails

2006-08-17 Thread Mark Smith
And in any case, you can already set and get the rtfText of a field - I think that this is, again, a subset of the rtf 'standard' Best, Mark On 16 Aug 2006, at 20:01, Ben Rubinstein wrote: The richText might make people think it was going to be RTF; how about the styledtext?

Re: Scrolling List Field

2006-08-17 Thread Mark Smith
helpful and patient. John On 8/17/06, Mark Smith [EMAIL PROTECTED] wrote: John, I may have this wrong, but don't you need to map the Am (two chars) to the appropriate (single) character of the tab font, like you do when setting the chordField field? Mark On 17 Aug 2006, at 06:14, John Baxter

Re: Scrolling List Field

2006-08-17 Thread Mark Smith
John, I'm just carrying on the fine tradition of this list, from which I have benefited many times...so you're most welcome. On 17 Aug 2006, at 20:02, John Baxter wrote: You have been extremely helpful and generous with your time. Maybe I can pay you something for your help? As to

Re: Can Rev as CGI pull an URL's HTML into a variable?

2006-08-16 Thread Mark Smith
I can't remember what it is, but there's a -v or -s or something you can put in curl string to stop it doing that... Mark On 16 Aug 2006, at 19:17, Andre Garzia wrote: Rob, try: pput $QUERY_STRING into searchstring put http://www.imdb.com/find?s=ttq=; searchstring into searchURL

Re: Scrolling List Field

2006-08-15 Thread Mark Smith
To do this, I think you'll have to explicitly set the textFont of the text you have just placed in fld TabField. The text you have placed in the global variable chord has no font property - it is simply text. So you might put something like this at the end of the placeChord handler: put

Re: Scrolling List Field

2006-08-15 Thread Mark Smith
with multiple buttons (all using the same font). When I click a button, it changes all the text back to the ukefont. John On 8/15/06, Mark Smith [EMAIL PROTECTED] wrote: To do this, I think you'll have to explicitly set the textFont of the text you have just placed in fld TabField. The text you

Re: Scrolling List Field

2006-08-14 Thread Mark Smith
Something like this in the button script: on insertNewItem put value(the selectedLine of fld fieldName) into tLine put tLine after fld targetField of stack mainStack end insertNewItem You can set the textFont property of a line in a field: set the textFont of line 12 of fld someField to

Re: Regular Expression question

2006-08-09 Thread Mark Smith
Not a regEx but works: function killDuplicateLines tList put empty into prevL repeat for each line L in tList if prevL is not L then put L cr after newList put L into prevL end repeat return newList end killDuplicateLines Best, Mark On 9 Aug 2006, at 14:36, Ton Kuypers

Re: Regular Expression question

2006-08-09 Thread Mark Smith
This method is faster - but it doesn't do exactly the same thing. If the idea is simply to have unique values in each line, then this is the way to go. The method I suggested simply removes repeating lines, and would be more suitable if one were trying to record changes in a stream of

Re: Time-outs with HTTPS

2006-08-07 Thread Mark Smith
I've been using https from Rev with a SOAP based service, and it works, but timeouts are frequent. At the beginning, I was getting about 50% of requests timing out, but over the three months or so I've been running the app (logging results), on average I've been getting about 12% of

Re: Plugin visibility

2006-08-06 Thread Mark Smith
Can you not do this from the 'Development' menu in the IDE? I have a menuItem at the bottom of the 'Development' menu called 'plugin settings', where you can define this behaviour for each plugin. Studio 2.7.2, but I'm pretty sure it's been there in prvious versions. Best, Mark On 6 Aug

Re: Studio License Renewal Cost

2006-08-05 Thread Mark Smith
Right, I'm going to start a petition to get RunRev to increase the purchase price. :) Best, Mark On 5 Aug 2006, at 07:21, dreamscapesoftware.com - List wrote: REALbasic Standard is $99, and the Upgrade is $50. REALbasic Professional is $500, and the Upgrade is $250. - In both cases, the

Re: ulTickleMe

2006-08-04 Thread Mark Smith
Dave, thanks. I just curious, really, and now I know! Best, Mark On 4 Aug 2006, at 06:40, Dave Cragg wrote: On 3 Aug 2006, at 18:22, Mark Smith wrote: Dave, (or anyone else who knows), what is the ulTickleMe message that I see in the pending messages? I'm assuming that the 'ul

Re: remove empty lines

2006-08-03 Thread Mark Smith
What were your results? On this machine (Mac PB 1.5mhz) I got: 1 lines in a field with approx. 1000 randomly placed empty lines put fld text into variable, repeat for each, place new list into fld -- 78 millisecs put fld text into variable, filter variable, put back into field -- 72

ulTickleMe

2006-08-03 Thread Mark Smith
Dave, (or anyone else who knows), what is the ulTickleMe message that I see in the pending messages? I'm assuming that the 'ul' connects it with libURL. I have an app that uploads a small amount of data to a remote ftp site every twenty minutes or so, using libUrlFTPUpload. on

angle of image bug

2006-07-31 Thread Mark Smith
Can anyone confirm that when you set the angle of an image to any angle other than a multiple of 90, you get a jagged black border around it? I couldn't find a currently open bug in bugzilla, though bug 44 (resolved, apparently) seems related. Is there a work-around? If anyone can

Re: angle of image bug

2006-07-31 Thread Mark Smith
ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 31-jul-2006, om 11:50 heeft Mark Smith het volgende geschreven: Can anyone confirm that when you set the angle of an image to any angle other than a multiple of 90, you get a jagged

Re: angle of image bug

2006-07-31 Thread Mark Smith
I sent a little stack that demonstrates the problem to support (Jacque), and I'll probably get a bug number from RunRev which I'll post here for our voting pleasure... Mark On 31 Jul 2006, at 16:41, Scott Rossi wrote: Recently, Mark Smith wrote: Can anyone confirm that when you set

Re: Sending email via Rev

2006-07-25 Thread Mark Smith
Richard, are you using the latest version (2.5.3) of libSmtp? best, Mark On 25 Jul 2006, at 21:24, Alex Tweedly wrote: Richard Miller wrote: I am testing Shao Shen's libsmtp function and having difficulty getting a test message to go through. The smtpOpen command seems to work fine.

Re: Can this be done faster ?

2006-07-21 Thread Mark Smith
on mouseUp put empty into cd fld 2 wait 5 ticks put 0 into XX put cd fld 1 into listXX put the ticks into timer repeat for each line L in listXX put L into tLine put item 1 of tLine into item 2 of tLine put tLine cr after tList end repeat delete char -1 of tList

Re: Fields automatically selected

2006-07-20 Thread Mark Smith
on openCard select empty pass openCard end openCard Should work. Best, Mark On 20 Jul 2006, at 15:37, Bill wrote: I've noticed that since I installed 2.7.2 on mac OS that any card that you open or go to a field will be selected. It doesn't seem to matter what layer or position the field

Re: Fields automatically selected

2006-07-20 Thread Mark Smith
versions did not select fields when you open a card and I was hoping there was some preference I could change. On 7/20/06 11:38 AM, Mark Smith [EMAIL PROTECTED] wrote: on openCard select empty pass openCard end openCard Should work. Best, Mark On 20 Jul 2006, at 15:37, Bill wrote: I've

Re: progress bar

2006-07-20 Thread Mark Smith
I think I'd do something like: button script: on mouseDown send startProgressing to sb theProgressBar end mouseDown on mouseUp send reset to sb theProgressBar end mouseUp and in the sb script: on startProgressing set the thumbPos of me to the thumbPos of me + 1 send startProgressing

Re: progress bar... next question

2006-07-20 Thread Mark Smith
work, but I' seem to remember doing it at sometime in the past - I can't remember what it was for, but I'll have a look to see if iI can find the images I used. Best, Mark On 21 Jul 2006, at 01:34, Nicolas Cueto wrote: Hello again, Thank you to Mark Smith for the solution (in record time

Re: progress bar... next question

2006-07-20 Thread Mark Smith
Nicolas, I found it. I've put it on Rev Online, name: Vertical Progress Bar user: Mark Smith Category: General Best, Mark On 21 Jul 2006, at 01:34, Nicolas Cueto wrote: Hello again, Thank you to Mark Smith for the solution (in record time, too!). My next question is how to make

Re: Handler behaving oddly

2006-07-19 Thread Mark Smith
Does the handler that calls checkSize put something into fld Display when checkSize returns? If so, despite the 'exit to top', the calling handler maybe putting the value returned from checkSize (ie. empty) into the field. You could put a wait 1 second before the exit to top, and see if

Re: [BUG] MacOS X 10.4.7 Rev 2.7.3 Intel Mac standalones look like classic.

2006-07-17 Thread Mark Smith
Andre, this sounds like the reappearance of a bug I thought had been squashed. If it's the same issue I had a while back, this was the solution: In the standalone package, if you look in: Contents/Plugins/ there should be files Jaguar_Theme_Support, Panther_Theme_Support and

Re: Standalone problems

2006-07-14 Thread Mark Smith
Bob, I think you can send an email to [EMAIL PROTECTED], and get some help, it's only if you ant a 'silver support incident' that you have to stump up. Mind you, I've usually been replied to by Jaque Gay, who is just as knowledgable and helpful on the list as she is in when doing RunRev

Re: Dependence on Programming Experts

2006-07-12 Thread Mark Smith
Fair enough. I guess I'd say if they can do it, and it doesn't break any existing code or anything, and if enough people want it, then why not? I suppose one lingering objection might be that too many syntaxes might make it difficult for one person to read anothers code, but then there

Re: Can this be done faster ?

2006-07-12 Thread Mark Smith
You don't actually have to do the first round, setting all the elements of T to 0. Adding 1 to an empty value seems to work fine, in my experience. best, Mark On 12 Jul 2006, at 12:40, jbv wrote: Hi again, I have some data that I need to process repeatedly and as fast as possible.

Re: you are spamming to Rev mailing list!

2006-07-12 Thread Mark Smith
Bad luck! These things are embarassing - been there myself. Best, Mark On 12 Jul 2006, at 13:32, Dave LeYanna wrote: WOW! Thanks for telling me. I am using a new email client and there is a default to reply to all incoming messages when you make a filter. This has been fixed. What a

Re: About instruction GO STACK in standalone version.

2006-07-12 Thread Mark Smith
Alvaro, if customers.rev is a substack of machines.rev, or if they are both substacks of another stack, then 'go stack whatever' should work fine. If customers.rev is a standalone, and machines.rev is another, separate standalone, then 'go stack' won't work. There are a couple of ways

Re: Dependence on Programming Experts

2006-07-12 Thread Mark Smith
Surely, in these mathematical cases, the '=' is not assigning anything, it is rather signifying that (y) and (x*2) are equal. So IF x=10 THEN y=20. Best, Mark On 12 Jul 2006, at 22:38, Viktoras Didziulis wrote: Solve: y=x*2 Given: x=10 --- Answer: y=20

Re: determining a plain text file

2006-07-11 Thread Mark Smith
Jim, I certainly am not deprecating the use of RegEx - it clearly is just as powerful as you say. My point was the 'exponentially slower' on long strings - if one is going to write a function to be called many times, or applied to arbitrarily long strings, the more lines of code approach

Re: Dependence on Programming Experts

2006-07-11 Thread Mark Smith
There has been discussion here of this in the past. Some for it, some against. The fact is that xTalks (as far as I know) have never used '=' as an assignment operator, except in the one case where Revolution does so, when declaring a variable : local x = 5 You could argue that since so

Re: determining a plain text file

2006-07-10 Thread Mark Smith
From: [EMAIL PROTECTED] Subject:Re: determining a plain text file Date: 10 July 2006 09:45:12 BDT To: use-revolution@lists.runrev.com Though be aware that if you're going to need to test a lot of files, and particularly if you're going test big

Re: [OT] Market Share

2006-07-10 Thread Mark Smith
Rob, I didn't mean that I was trying to guide you or anyone back to the topic, it just seemed like an appropriate (if a bit hypothetical) question given the title of the thread. And look! We're now into a fourth discussion :) Best, Mark On 10 Jul 2006, at 16:37, Rob Cozens wrote: Hi

Re: determining a plain text file

2006-07-10 Thread Mark Smith
On 10 Jul 2006, at 17:35, Bill Marriott wrote: Oh, that's *very* interesting, especially the hang/lockup part! I'm going to have to play with this a little bit. Hard to beat 7 milliseconds vs. 6.5 seconds! Not to disparage regexes, but everytime I see one of these neat one- line regex

Re: [OT] Market Share

2006-07-09 Thread Mark Smith
Rob, I think you'd have to admit that this is a fairly narrow, one- issue view. Essentially, what you're saying is that Windows does tablet, and Mac doesn't. What's the market share for tablet PCs? Not that I mean that we should all ignore tablet PCs, far from it, in fact it illustrates

Re: [OT] Market Share

2006-07-09 Thread Mark Smith
Rob, the reason I asked 'what's the market share for tablet PCs?' (I don't know the answer, either) was simply the title of this thread. I certainly wasn't trying to disparage TPCs. I assume most modern OSes to be generally stable, though as a mac- user of many years I'd have to say that

Re: [OT] Market Share

2006-07-09 Thread Mark Smith
That may be the developers view - what about the users? I am not a professional developer, and as a user (I have 10.4 on a PB for personal stuff, 10.3 on a 7 year old 350Mhz G3 that runs as a print server and other things, and 10.2 on a dual G4 that runs my music stuff) I have not found

Re: send subCheckNow to me, or?

2006-07-07 Thread Mark Smith
The 2nd won't work, I'm pretty sure. I've used the 1st (usually send subCheck to me in n seconds) without problem. best, Mark On 7 Jul 2006, at 09:37, Garrett Hylltun wrote Rev 2.6.1 / OS X Greetings, Is it better to use send or just use the name of the handler? on subCheckNow -- do

Re: send subCheckNow to me, or?

2006-07-07 Thread Mark Smith
On 7 Jul 2006, at 21:02, Garrett Hylltun wrote: I think at the moment I'd better stick to using send until I can find out whether the engine will get mucked up by using just the handler name. For doing what you're doing, I think 'send' is the way to go. Since you're putting waits in

Re: send subCheckNow to me, or?

2006-07-07 Thread Mark Smith
For some reason I'd imagined that functions could recurse, but not handlers - I don't know why I thought this, and in fact it would be strange if it were true. Perhaps because I've only ever used recursion in functions. So thanks for pointing it out! Best, Mark On 7 Jul 2006, at 22:53,

Re: Dependence on Programming Experts

2006-07-06 Thread Mark Smith
On 6 Jul 2006, at 08:31, GregSmith wrote: I'm not asking for a tool that does everything for me. I'm asking for a computer language that lets me translate my organized thoughts and imagination into useful bits that, when assembled together, form working components of a total working

Re: Exporting transparent PNGs (again)

2006-07-05 Thread Mark Smith
Chris, when I first came to Rev from HC, I also ignored the 'repeat for' loop for quite a long time. Not anymore, though. It's so much faster that it's usually worth whatever extra code (counters etc.) that you need to put inside it. As you've found, it can make the difference between

Re: SLOOOW MOVERS

2006-07-03 Thread Mark Smith
Have you played with the moveSpeed property? It's still limited by the CPU power, but at least you can make things move more slowly! Best, Mark On 3 Jul 2006, at 14:58, Richmond Mathewson wrote: I have been having a lot of fun using MOVE to move (surely not?) pictures of vegetables around

Re: how do you get the evaluated value of a system variable rather than the literal text value in the case of a system variable like $HOME?

2006-06-30 Thread Mark Smith
To get the result you want, it would be set the itemDelimiter to / get item 2 to 4 of ($HOME /Aplications) Simply putting $HOME in brackets will get it evaluated. OTOH, you could also use the specialFolderPath function: get specialFolderPath(Applications) Best, Mark Smith On 1 Jul 2006

Re: [OT] Market Share

2006-06-29 Thread Mark Smith
OTOH, Chipp, wouldn't it make more sense for developers be more interested in installed base, rather than the last years market share? (Not that I have any idea what those figures might be). And even then, if you're developing in a particular area, these installed base/market share

Re: Get a Free Copy of Shade 7 Designer - 3D Software

2006-06-28 Thread Mark Smith
Strange - I got it in about 30 minutes smug grin. Mind you, I'd probably have given up if you hadn't forewarned us about the slightly involved process of signing up etc., so thanks for that. Best, Mark On 29 Jun 2006, at 03:00, Stephen Barncard wrote: 2.4 k a second - more than 1 day to

Re: moving sounds

2006-06-27 Thread Mark Smith
Couldn't you use copy and paste (both scriptable)? Best, Mark On 27 Jun 2006, at 23:18, Stephen Barncard wrote: It there any way to move sounds and movies from one stack to another? Import is versatile and works with sounds and images. Export only works with images. sqb -- stephen

Re: How to search?

2006-06-26 Thread Mark Smith
Have you tried: find char in fld tField of this card ? Best, Mark On 26 Jun 2006, at 09:33, Felix Theissen wrote: Hi, I have a problem, I want to search a shared field for all occurencies of TextToFind. But what happens is: if I search with find chars, after finding all occurencies of

Re: How do I abort a handler in OS X???

2006-06-26 Thread Mark Smith
Sadly, cmd-period doesn't seem to do it. I'm on OS X. I've adopted the habit of putting if the optionKey is dwon then exit to top at the start of the loop until I've debugged it enough to be sure it isn't going to be infinite...which is no help at all in your current predicament. You could

<    4   5   6   7   8   9   10   11   12   13   >