Re: Limitations of email (was Re: Linux installaton)
Jacque- I am quite sure that if both Bob and Mark were happening in person, they would immediately agree that YOU are buying the next round. :) I *am* happening in person, and I very much endorse this idea. Now if we could just get Bob to come to RevConWest... -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[REQ] Seeking testers for SASL libraries
Seeking testers for SASL libraries.. Interested? Email me off-list.. _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Linux installation
Mark Wieder wrote: Whoa! That's taking things a bit personally there. You *did* ask if I was getting tired of this thread, right? I never said I was getting tired of *you*. Or did you not really mean to offer that option? First of all, if ever I meet you, I will buy you that round of drinks together with the other great guys on this List. What we have here is a gross misunderstanding. I would have preferred to finally have a good laugh and to change the subject, but since you have now resumed the thread I am bound to answer. You had already contacted me off-list and told me that the discussion was OT: not really rev stuff. On-list, you later said It's not quite OT, since it does have to do with building linux standalones. In fact, my discussion has not deviated from the question of Linux installation for one minute as far as I can see, so the implication of OT is not accurate in my opinion. People very often say this when they really disagree strongly and they want to censure the person speaking or writing, but they don't have the courage to say it directly. Could it be because I had the audacity to attempt solve my Rev problem using RealBasic, and worse still, discuss this on the UR-List? All I want to do is to be able to write programs in Linux, which I cannot do properly in Rev at the moment. Rev for 2.6.1 for Linux is too incomplete and unstable for use - at least on my machine - and even Metacard suffers from engine problems which prevent me using it in Ubuntu Linux. Much of my discussion has centred around the crucial specialFolderPath function, which as you know has not been implemented in Linux. All I wanted to do was to find a substitute, and although I failed, the spinoff was highly interesting, except to you it seems. Part of the problem perhaps is that I have too much time on my hands, without the slightest sign of an ETA for Rev Linux 2.7. In reply to your post, I'll do some clipping, but please don't take this as being unfriendly as it can sometimes imply. It's just a convenient was of answering what you have said. You *did* ask if I was getting tired of this thread, right? If a woman asked you Am I ugly? and she looks like the back of a horse, would you simply and seriously say Yes? Of course you wouldn't. You'd find some compromise between respecting the truth and avoiding hurting her feelings, e.g. Well, I'm not sure whether or not you would win the Miss World beauty contest, but I think you're nice. Or another way of solving the problem if you know her well enough would be to say Yeah, you look like the back of a horse, which translated means You should know better than to ask me questions like that, so please don't. In my previous post I was anxious that perhaps I was rattling on a bit and in danger of trying some people's patience. I was anxious not to do that, or at least to be forgiven for it. Your I am tired of this thread is as shocking as the blunt Yes illustrated above. Basically I *am* getting tired of repeating myself Another example of the above. But since you mention it, so am I. I think what you've run into is a RB problem, not a runrev problem. Not only are you preaching to the converted, I was the one to do the converting! And that's ironic! What on earth has given you the fixed idea that I didn't understand that? Worse still, Jacque seems to have picked up your idea and also got the impression that I didn't understand my own thesis! I am not going to spend more time analysing it here, but it dawned on me the very moment that you told me that the RB application did not run on your Kubuntu. What happened was this. I have tried using for the first time my free Linux edition of Standard RealBasic. When you save an application as they put it, the only thing in the Build Settings is the name of the OS. Different to Rev, I could find no provision for including libraries, etc. I first assumed that my application was a standalone, but when I saw that it failed on your Kubuntu I concluded that it was simply an executable requiring OS libraries much in the manner of a Windows .EXE that needed a setup. I therefore abandoned this application immediately and had no intention of further recommending its use. I thought this was clear, but it seems not. Could it also be that you have not always appreciated the significant difference between RR and RB in my posts? Of course it is an RB problem. As for it being a RunRev problem, far from it. As I've said before, if my diagnosis of the RB limitation is correct, the Rev standalones are infinitely better, and I have NEVER encountered a Rev standalone that crashes (because of lack of libraries or any other reason) on any of the Linux distros I have tried. So that neither of us need to repeat ourselves: I have run into an RB problem! It is not a Rev problem! All the best, Bob ___ use-revolution mailing
Re: Non-Contiguous hilites
Roger, Set the hilitedLines of fld ListData to 1,2,3,4,5,7,8,12 Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 8-jun-2006, om 3:58 heeft [EMAIL PROTECTED] het volgende geschreven: I have a list field in which I want to select multiple lines by script. It works fine by holding control while clicking the lines, but how do you do the same in a script? select line 1 to 5 and line 7,8,12 of field ListData -- I know this syntax is way wrong. Roger Eller [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Linux installation
Sorry about the spelling mistakes (bugs!). I thought that my picture was straight, but now I see that it is crooked. No sleep for me tonight. Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
printing image to memory
Hello ;o) I am converting data matrix to its image representation by printing (rgb values representing data values) image to disk and then displaying the image file. I am not very happy with this approach though... Is there a way to print image directly to card or image field and not to loose image information when zooming in/out. And only then to choose either save it or not. What are alternative methods to do this? Many thanks in advance! Best wishes Viktoras ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
+printing image to memory
Whoops, I forgot to mention that I am using external for matrix processing,so this question would be rather where should external's output (rgb values) be directed and in what form ? -V ---Original Message--- From: Viktoras Didziulis Date: 06/08/06 12:27:40 To: use-revolution@lists.runrev.com Subject: printing image to memory Hello ;o) I am converting data matrix to its image representation by printing (rgb values representing data values) image to disk and then displaying the image file. I am not very happy with this approach though... Is there a way to print image directly to card or image field and not to loose image information when zooming in/out. And only then to choose either save it or not. What are alternative methods to do this? Many thanks in advance! Best wishes Viktoras ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Random(3) often returns 1
Has anyone noticed this? I have two games that sort a container (three lines, one line is the answer) by random the number of lines. The answer should be in any one of the three resulting lines, but is overwhelmingly in the first any thoughts? tm ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Associating Icons with Standalone Applications.
Hi all !! I want to associate an icon to the standalone applications. If I associate the icons provided in Revolution 2.6/Sample Icons, things are perfectly fine. But when I try to associate some other icons it shows an error like this image does not support these type of formats. Exact Error is like this: The icon file FileName does not include the following 3 required image formats: 16 color 32 x 32 pixels 256 color 32 x 32 pixels Windows(32-bit color) 32 x 32 pixels I have tried making the other .ico file of the same pixels and same bits as those .ico files in Revolution, but same error is appearing. Also in the Revolutions documentation it is clearly mentioned that: Important! The icon file's size must be 744 bytes. If the file is not this size, it's not in the correct format, and trying to use it as an application icon won't work. Now the .ico files in Revolution 2.6 are of 25 KB each. I don't know how they are associated well, but not the other icon files. I need the clarifications as well as some way to associate some other .ico files to standalone application. Is there a way out?? Expecting a quick reply, Regards, Nitesh ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Random(3) often returns 1
On 6/8/06, Thomas McCarthy [EMAIL PROTECTED] wrote: Has anyone noticed this? I have two games that sort a container (three lines, one line is the answer) by random the number of lines. The answer should be in any one of the three resulting lines, but is overwhelmingly in the first I think if you sort using only the number of lines as your randomiser, you will get some lines with the same sort value and so their order will remain the same. When doing this type of sort, I alwasy got for a ridiculously large randome number to reduce this possibility e.g. sort lines of fld Answers by random(100) HTH, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Associating Icons with Standalone Applications.
DAHIYA Nitesh, If I make a complete icon family with 18 members, it works fine. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 8-jun-2006, om 14:40 heeft DAHIYA Nitesh het volgende geschreven: Hi all !! I want to associate an icon to the standalone applications. If I associate the icons provided in Revolution 2.6/Sample Icons, things are perfectly fine. But when I try to associate some other icons it shows an error like this image does not support these type of formats. Exact Error is like this: The icon file FileName does not include the following 3 required image formats: 16 color 32 x 32 pixels 256 color 32 x 32 pixels Windows(32-bit color) 32 x 32 pixels I have tried making the other .ico file of the same pixels and same bits as those .ico files in Revolution, but same error is appearing. Also in the Revolutions documentation it is clearly mentioned that: Important! The icon file's size must be 744 bytes. If the file is not this size, it's not in the correct format, and trying to use it as an application icon won't work. Now the .ico files in Revolution 2.6 are of 25 KB each. I don't know how they are associated well, but not the other icon files. I need the clarifications as well as some way to associate some other .ico files to standalone application. Is there a way out?? Expecting a quick reply, Regards, Nitesh ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Random(3) often returns 1
Hello, I think Sarah is right, lines may end up with equal random numbers. However, my test results show another weird phenomenon. on mouseUp put 0,0,0 into myCounter repeat 10 repeat 1000 add 1 to item random(3) of myCounter end repeat put myCounter sum(myCounter) return after myList put 0,0,0 into myCounter end repeat put myList end mouseUp test results: 330,328,329 987 316,315,317 948 325,326,326 977 337,337,339 1013 349,350,349 1048 327,327,325 979 348,348,347 1043 355,356,355 1066 330,330,329 989 335,335,334 1004 There is a bug somewhere, which causes these weird results. The following works fine: on mouseUp put 0,0,0 into myCounter repeat 10 repeat 1000 put random(3) into x add 1 to item x of myCounter end repeat put myCounter sum(myCounter) return after myList put 0,0,0 into myCounter end repeat put myList end mouseUp with these test results: 312,344,344 1000 338,344,318 1000 313,343,344 1000 320,344,336 1000 291,338,371 1000 339,303,358 1000 337,324,339 1000 328,338,334 1000 322,331,347 1000 305,354,341 1000 I don't know whether this might affect the sort function or any other application of random numbers, besides using them in repeat loops. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 8-jun-2006, om 14:16 heeft Thomas McCarthy het volgende geschreven: Has anyone noticed this? I have two games that sort a container (three lines, one line is the answer) by random the number of lines. The answer should be in any one of the three resulting lines, but is overwhelmingly in the first any thoughts? tm ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Random(3) often returns 1
Perhaps the definition of random(3) is more like generate a random number precisely round the result to a non-zero integer (or truncate the result to a non-zero integer) show the result of this process. One could try (random(2999) div 1000)+1 I think the basic problem is begins by assuming that the random number generator function is also able to create a uniformly random distribution after converting to an integer. These are not the same concept. In my experience, you have to roll your own by using the random function as part of a scheme to handle (floor, ceiling, round, truncate) issues, especially with small ranges of non-zero integers, Jim Ault Las Vegas On 6/8/06 6:25 AM, Mark Schonewille [EMAIL PROTECTED] wrote: Hello, I think Sarah is right, lines may end up with equal random numbers. However, my test results show another weird phenomenon. on mouseUp put 0,0,0 into myCounter repeat 10 repeat 1000 add 1 to item random(3) of myCounter end repeat put myCounter sum(myCounter) return after myList put 0,0,0 into myCounter end repeat put myList end mouseUp test results: 330,328,329 987 316,315,317 948 325,326,326 977 337,337,339 1013 349,350,349 1048 327,327,325 979 348,348,347 1043 355,356,355 1066 330,330,329 989 335,335,334 1004 There is a bug somewhere, which causes these weird results. The following works fine: on mouseUp put 0,0,0 into myCounter repeat 10 repeat 1000 put random(3) into x add 1 to item x of myCounter end repeat put myCounter sum(myCounter) return after myList put 0,0,0 into myCounter end repeat put myList end mouseUp with these test results: 312,344,344 1000 338,344,318 1000 313,343,344 1000 320,344,336 1000 291,338,371 1000 339,303,358 1000 337,324,339 1000 328,338,334 1000 322,331,347 1000 305,354,341 1000 I don't know whether this might affect the sort function or any other application of random numbers, besides using them in repeat loops. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 8-jun-2006, om 14:16 heeft Thomas McCarthy het volgende geschreven: Has anyone noticed this? I have two games that sort a container (three lines, one line is the answer) by random the number of lines. The answer should be in any one of the three resulting lines, but is overwhelmingly in the first any thoughts? tm ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problem with declaring local variables
Hi Peter, If a variable is not declared outside a handler, it is assumed to be a handler local variable and reinitialized every time the handler is called. I stand corrected... though in that case there is absolutely nothing to be gained by declaring a handler local variable unless one uses explicitVariables. Rob Cozens CCW, Serendipity Software Company 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 use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Very newbie question
Kevin, Jacque, et al: Having example code is great, but I would love to go to a player object section and see everything I can do with a player, for instance. If you have an older version of Revolution you can do what I do: fire it up, select Rev Dictionary, and use the Show pulldown to select the category (eg: messages, properties, etc.) and the control type (eg: field, button, image, etc.) to see all the messages/properties/etc. relating to the type of control I selected. I use that section of help more than any other, and IMFO Rev documentation took a _big_ step backwards when that feature was removed. A new heading and column will appear for your chosen object. All keywords that relate to that object will be checkmarked in its column. You can see them more easily by clicking on the column header so that they are all sorted together. Then just read everything. :) This does not provide the same quick answer to questions like what properties does an image have? or what messages are sent to a button?. I'd really like to see the Show pulldown back in the Dictionary. Rob Cozens CCW, Serendipity Software Company 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 use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Non-Contiguous hilites
A big THANK YOU goes to Mark Schonewille and Bridger Maxwell for pointing me in the right direction. Set the hilitedLines of fld MyField to 1,2,3,8,9,12 PERFECT! THANK YOU BOTH Roger Eller [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Random(3) often returns 1
Hi Tom, I have two games that sort a container (three lines, one line is the answer) by random the number of lines. The answer should be in any one of the three resulting lines, but is overwhelmingly in the first any thoughts? The smaller the root of a random number, the greater (a) the odds that the random numbers generated will be duplicates and (b) the number of iterations needed to produce output distributed evenly along a bell-curve. Rob Cozens CCW, Serendipity Software Company 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 use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Limitations of email (was Re: Linux installaton)
Mark Wieder wrote: Jacque- I am quite sure that if both Bob and Mark were happening in person, they would immediately agree that YOU are buying the next round. :) I *am* happening in person, and I very much endorse this idea. Now if we could just get Bob to come to RevConWest... Okay, so it's unanimous. Richard will buy everyone a round at RevCon. After all, he's, um, Rich. :) -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Answer Folder in Rev Linux (was Re: Linux installaton)
Bob Warren wrote: Jacqueline Landman Gay wrote: How about just asking the user to select the path via answer folder? Then store it for future reference. - Please do visit http://www.howsoft.com/runrev/stacks.htm Okay, I did. You will see that the widgets are themselves substitutes for the answer file dialogue. The picture chooser, however, gives a preview of the pictures available when you click on their file names. This does not exist in Linux and therefore is uncallable by Rev. I therefore made one in the form of a Rev standalone. The file chooser is entirely unnecessary in functional terms, since we have the answer file dialogue, but I made it in order to match exactly the style of the picture chooser. Incidentally, the style of both choosers is in the form of an HD treeview as in Windows. The Linux answer file does not make use of a treeview for the folders (at least in my Ubuntu). So the 2 crucial points to be made are as follows: 1) It wouldn't make much sense to ask the user for his help using an answer folder/file in order to be able to present him immediately with another answer file in a different style. No, but your widget already knows the file path, and therefore already knows the enclosing folder. The user has chosen it; all you need to do is store that information. You mention you've made your widget into a standalone. You have two options. 1. Remove the standalone capability and provide your widget as a stack so that it can be embedded as a substack into a mainstack. This will allow it to easily pass folder and file paths to the other scripts via variables or a function call. 2. If it needs to remain a standalone then have it write the relevant path information to a temporary file where a mainstack can read it and then delete the temp file. 2) In my Ubuntu Linux (and possibly in other Linuxes as well), the answer folder/file only allows the user to choose from the local file system. There is no sign of network paths in these dialogues. This behavior is the same on Mac and Windows too. Only mounted drives are recognized in any ask or answer dialog. This behavior appears to be standard on all applications in both the other operating systems. Unmounted drives don't exist to the OS. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Limitations of email (was Re: Linux installaton)
No, I think he was saying he is 90% confident that 100% of all those East European girls that email you were lying. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Jun 7, 2006, at 10:00 AM, [EMAIL PROTECTED] wrote: On 7 Jun 2006, at 18:38, Richard Gaskin wrote: I recently read a summary of a study on email communications which found that while participants reported having 90% confidence that they accurately interpreted the tone and content of the email, they were wrong about 50% of the time. So you're saying about half of those East-European girls that e-mail me are lying. Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Limitations of email (was Re: Linux installaton)
To bring further clarification: Half this game is ninety percent mental. --Danny Ozark (Philadelphia Phillies) Marty Knapp No, I think he was saying he is 90% confident that 100% of all those East European girls that email you were lying. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Jun 7, 2006, at 10:00 AM, [EMAIL PROTECTED] wrote: On 7 Jun 2006, at 18:38, Richard Gaskin wrote: I recently read a summary of a study on email communications which found that while participants reported having 90% confidence that they accurately interpreted the tone and content of the email, they were wrong about 50% of the time. So you're saying about half of those East-European girls that e-mail me are lying. Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
MS Vista
All- If you really want to live on the edge, you can get Windows Vista Beta 2 now, either as a download (3.5 - 4.4 GB) or on DVD. http://www.microsoft.com/windowsvista/getready/preview.mspx -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Random(3) often returns 1
Wow. I ammended your handler like this: on mouseUp repeat 10 put 0,0,0 into myCounter repeat 1000 add 1 to c add 1 to item random(3) of myCounter put myCounter cr after cList end repeat put myCounter sum(myCounter) return after myList end repeat put c cr cr myList cr cr cList end mouseUp and the result was 1 which is as expected 341,344,345 1030 328,326,329 983 348,346,347 1041 331,334,335 1000 321,323,322 966 337,340,339 1016 317,318,316 951 310,308,309 927 345,345,346 1036 352,355,350 1057 not at all as expected 0,1,0 0,1,0 2,1,0 2,1,0 2,1,0 3,1,0 3,1,4 3,1,2 3,1,2 3,2,2 3,2,3 ... you can see that not only is 1 not being added everytime, but other additions and subtractions are happening as well Weird. Mark On 8 Jun 2006, at 14:25, Mark Schonewille wrote: Hello, I think Sarah is right, lines may end up with equal random numbers. However, my test results show another weird phenomenon. on mouseUp put 0,0,0 into myCounter repeat 10 repeat 1000 add 1 to item random(3) of myCounter end repeat put myCounter sum(myCounter) return after myList put 0,0,0 into myCounter end repeat put myList end mouseUp test results: 330,328,329 987 316,315,317 948 325,326,326 977 337,337,339 1013 349,350,349 1048 327,327,325 979 348,348,347 1043 355,356,355 1066 330,330,329 989 335,335,334 1004 There is a bug somewhere, which causes these weird results. The following works fine: on mouseUp put 0,0,0 into myCounter repeat 10 repeat 1000 put random(3) into x add 1 to item x of myCounter end repeat put myCounter sum(myCounter) return after myList put 0,0,0 into myCounter end repeat put myList end mouseUp with these test results: 312,344,344 1000 338,344,318 1000 313,343,344 1000 320,344,336 1000 291,338,371 1000 339,303,358 1000 337,324,339 1000 328,338,334 1000 322,331,347 1000 305,354,341 1000 I don't know whether this might affect the sort function or any other application of random numbers, besides using them in repeat loops. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 8-jun-2006, om 14:16 heeft Thomas McCarthy het volgende geschreven: Has anyone noticed this? I have two games that sort a container (three lines, one line is the answer) by random the number of lines. The answer should be in any one of the three resulting lines, but is overwhelmingly in the first any thoughts? tm ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
ToolTip Staying Power
Hello List, Is it possible to force ToolTips to STAY VISIBLE until the mouse pointer is moved off of the object? By default they disappear after a few seconds of inactivity. Thanks. Roger Eller [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Random(3) often returns 1
On Jun 8, 2006, at 7:00 AM, Sarah Reichelt wrote: I think if you sort using only the number of lines as your randomiser, you will get some lines with the same sort value and so their order will remain the same. When doing this type of sort, I alwasy got for a ridiculously large randome number to reduce this possibility e.g. sort lines of fld Answers by random(100) This is right. Function random() is called once for each line, assigning that a number to that line. That number is used to sort the lines. The smaller the parameter to random, the greater the chance that two lines end up with the same number. If two lines have the same number, they will sort in the same order that they had. (There is also a minor problem that random(n) has will favor smaller numbers for n100,000,000. Also, don't use n2,000,000,000. Sarah's n=1,000,000 is good.) Dar Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Getting the line number of a script
I'm looking for a way to get the line of a script. For example, 1 global tVar 2 3 on mouseup 4 do stuff 5 put (magical function/code to retrieve this line number) into tVar 6 do more stuff 7 end mouseup Basically I want 3 when I access tVar. Putting the script of the object into a variable and then doing a lineoffset seems like it'd be too much work and give false results if the line of code appears more than once. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting the line number of a script
One idea: You could use lineOffset with a line number from the executionContexts as the starting point. Not perfect, but more accurate than lineOffset without it. Phil Davis Duong Le wrote: I'm looking for a way to get the line of a script. For example, 1 global tVar 2 3 on mouseup 4 do stuff 5 put (magical function/code to retrieve this line number) into tVar 6 do more stuff 7 end mouseup Basically I want 3 when I access tVar. Putting the script of the object into a variable and then doing a lineoffset seems like it'd be too much work and give false results if the line of code appears more than once. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Answer Folder in Rev Linux (was Re: Linux installaton)
One thing I could never fault you for, Jacque, is your motivation to try and help if you can. Thanks. I'll digest your suggestions and come back again with more questions probably. Regards, Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
item random() (was Random(3) often returns 1)
On Jun 8, 2006, at 11:05 AM, Mark Smith wrote: 341,344,345 1030 328,326,329 983 348,346,347 1041 331,334,335 1000 321,323,322 966 337,340,339 1016 317,318,316 951 310,308,309 927 345,345,346 1036 352,355,350 1057 not at all as expected My variation: on mouseUp set the cursor to watch put empty into field field repeat with n = 10 to 35 set the randomSeed to n put 0,0,0 into counters1 get random(3) add 1 to item it of counters1 set the randomSeed to n put 0,0,0 into counters2 add 1 to item random(3) of counters2 if counters1 is not counters2 then put n tab counters1 tab counters2 lf after field field set the scroll of field field to 10 end if end repeat end mouseUp == 11 0,0,1 0,1,0 12 0,1,0 1,0,0 13 0,1,0 0,0,1 18 0,0,1 0,1,0 19 0,0,1 1,0,0 20 0,1,0 0,0,1 23 1,0,0 0,0,1 24 1,0,0 0,1,0 25 0,0,1 0,1,0 26 0,0,1 1,0,0 29 0,1,0 1,0,0 30 1,0,0 0,0,1 31 1,0,0 0,1,0 33 0,0,1 1,0,0 This repeats with the same result every time (I'm setting randomSeed). Rev 2.7.1 OS X 10.4.6 This looks a lot like the base64Decode bug that was fixed for 2.7.2. Dar Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: item random() (was Random(3) often returns 1)
Hi Dar, Rev 2.7.2 gives exactly the same results. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 8-jun-2006, om 21:14 heeft Dar Scott het volgende geschreven: My variation: on mouseUp set the cursor to watch put empty into field field repeat with n = 10 to 35 set the randomSeed to n put 0,0,0 into counters1 get random(3) add 1 to item it of counters1 set the randomSeed to n put 0,0,0 into counters2 add 1 to item random(3) of counters2 if counters1 is not counters2 then put n tab counters1 tab counters2 lf after field field set the scroll of field field to 10 end if end repeat end mouseUp == 11 0,0,1 0,1,0 12 0,1,0 1,0,0 13 0,1,0 0,0,1 18 0,0,1 0,1,0 19 0,0,1 1,0,0 20 0,1,0 0,0,1 23 1,0,0 0,0,1 24 1,0,0 0,1,0 25 0,0,1 0,1,0 26 0,0,1 1,0,0 29 0,1,0 1,0,0 30 1,0,0 0,0,1 31 1,0,0 0,1,0 33 0,0,1 1,0,0 This repeats with the same result every time (I'm setting randomSeed). Rev 2.7.1 OS X 10.4.6 This looks a lot like the base64Decode bug that was fixed for 2.7.2. Dar Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Associating Icons with Standalone Applications.
Nitesh, Mark, I also had some troubles with creating custom icons for Windows on Mac. In my case Revolution said all the 16 and 256 color icons were missing. In the past I used Apple's Icon Composer and an app called Pixadex to create custom icons. But in some way I can't get this combination to work properly now. In the end I have created custom icons on Windows using IconDeveloper, and these are OK. Kind regards, Henk -- Henk v.d. Velden iGlow Media Magda Janssenslaan 44 3584 GR UTRECHT 06 16 024 337 www.iglow-media.nl ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Limitations of email (was Re: Linux installaton)
Mark Wieder wrote: I think what you've run into is a RB problem, not a runrev problem. Marty Knapp wrote: Half this game is ninety percent mental. --Danny Ozark (Philadelphia Phillies) -- Mark: The penny has dropped! I see the short circuit. I don't know what you think, but I think that Rev came out rather nicely from the comparison with RB. There's also another message embedded in this. I'm not scared of RB. Is anybody else? Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Problem with Variable watcher
Hi all I'm wondering why at times on my variable watcher screen I get two flds on the bottom instead of one and when I select a line (var) in the top part I don't see it in the bottom window (or actually it appears in the frame between the two flds? Thanks Hershel ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Associating Icons with Standalone Applications.
A frequent recommendation for reliable icon building for both Mac and Windows is the IconFactory plugin for Photoshop. Several people on the list, including me, have had great success with it. Devin On Jun 8, 2006, at 1:53 PM, Henk van der Velden wrote: Nitesh, Mark, I also had some troubles with creating custom icons for Windows on Mac. In my case Revolution said all the 16 and 256 color icons were missing. In the past I used Apple's Icon Composer and an app called Pixadex to create custom icons. But in some way I can't get this combination to work properly now. In the end I have created custom icons on Windows using IconDeveloper, and these are OK. Kind regards, Henk -- Henk v.d. Velden iGlow Media Magda Janssenslaan 44 3584 GR UTRECHT 06 16 024 337 www.iglow-media.nl ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: item random() (was Random(3) often returns 1)
I just ran this code on mouseUp repeat 1000 add 1 to x[random(3)] end repeat put sum(x) into y combine x using cr and tab put x cr cr y end mouseUp and got this: 1 329 2 328 3 328 985 Note that the three numbers don't add up to 1000, but there are no other numbers. ??? Running it again I get: 1 339 2 335 3 338 1012 _More_ than 1000? What the??? Even stranger, making this slight adjustment fixes it: on mouseUp repeat 1000 put random(3) into z add 1 to x[z] end repeat put sum(x) into y combine x using cr and tab put x cr cr y end mouseUp Anyone know what I'm not seeing? regards, Geoff ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
URL's
Using OS 10.3.9 This is my first venture with URL and I will appreciate a bit of help. I have gotten this far: Ask Enter the stock or fund symbol put it into hold get http://finance.yahoo.com/q?s=; put hold after last char of it revGoUrl it The above brings up the web page but I can't figure out how to get some of the numerical data (such as the price associated with the symbol) from the web page. I would like to get bits of information and put them into a field(s) of a stack card. Suggestions are appreciated. Regards ... Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: item random() (was Random(3) often returns 1)
Hi Geoff, Funny, that's exactly what I demonstrated in a previous e-mail, earlier to/yesterday. Apparently, there is more than one workaround. Maybe a slight pause is all it takes. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Download ErrorLib at http://economy-x-talk.com/developers.html and get full control of error handling in Revolution. Op 9-jun-2006, om 1:35 heeft Geoff Canyon het volgende geschreven: I just ran this code on mouseUp repeat 1000 add 1 to x[random(3)] end repeat put sum(x) into y combine x using cr and tab put x cr cr y end mouseUp and got this: 1 329 2 328 3 328 985 Note that the three numbers don't add up to 1000, but there are no other numbers. ??? Running it again I get: 1 339 2 335 3 338 1012 _More_ than 1000? What the??? Even stranger, making this slight adjustment fixes it: on mouseUp repeat 1000 put random(3) into z add 1 to x[z] end repeat put sum(x) into y combine x using cr and tab put x cr cr y end mouseUp Anyone know what I'm not seeing? regards, Geoff ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL's
On 9 Jun 2006, at 00:41, Robert Presender wrote: Using OS 10.3.9 This is my first venture with URL and I will appreciate a bit of help. I have gotten this far: Ask Enter the stock or fund symbol put it into hold get http://finance.yahoo.com/q?s=; put hold after last char of it revGoUrl it The above brings up the web page but I can't figure out how to get some of the numerical data (such as the price associated with the symbol) from the web page. I would like to get bits of information and put them into a field(s) of a stack card. revGoUrl will just open the page in your browser. Instead, you want to get the the actual content of the url. To start, try something like this: ask Enter the stock or fund symbol put it into hold get http://finance.yahoo.com/q?s=; put hold after last char of it put url it into urlData But then the hard part begins. You'll have to parse the data contained in urlData, which I assume will be in html format. The first thing I would do would be to put urlData into a field, and see what the data looks like. Then you should be able to see how it might be parsed. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL's
On 6/9/06, Robert Presender [EMAIL PROTECTED] wrote: Using OS 10.3.9 This is my first venture with URL and I will appreciate a bit of help. I have gotten this far: Ask Enter the stock or fund symbol put it into hold get http://finance.yahoo.com/q?s=; put hold after last char of it revGoUrl it The above brings up the web page but I can't figure out how to get some of the numerical data (such as the price associated with the symbol) from the web page. I would like to get bits of information and put them into a field(s) of a stack card. Bob, you may find this web page useful http://www.revjournal.com/tutorials/macaddict-forum-reader.html It's probably a bit out of date, but it is a tutorial I wrote for revJournal that does this sort of thing. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
CloseField
Hi all its very interesting why in a situation like this the next fld selected would be the first fld in the card and not the next one in order? on closeField answer a with b or c if it is c then beep end if end closeField Thank you. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: item random() (was Random(3) often returns 1)
On Jun 8, 2006, at 4:59 PM, Mark Schonewille wrote: Funny, that's exactly what I demonstrated in a previous e-mail, earlier to/yesterday. Apparently, there is more than one workaround. Maybe a slight pause is all it takes. Looking back I see that -- apparently I didn't read the previous thread carefully enough... ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: CloseField
On 6/8/06 8:11 PM, Hershel Fisch [EMAIL PROTECTED] wrote: To clarify my self, When a fld is exited via tab key it automatically selects the next fld in order of the layer and when put in a closeField message this doesn't happen It selects the first fld of the cd and at times it selects two flds, the next layer of the cd (the next fld) and the first of the cd? on closeField answer a with b or c if it is c then beep end if end closeField Thank you. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: item random() (was Random(3) often returns 1)
I tried putting a 'wait 1 millsecond' into the loop, and it made no difference. Perhaps there is something weird about what the random() function returns, until it is put into a variable? Mark On 9 Jun 2006, at 00:59, Mark Schonewille wrote: Maybe a slight pause is all it takes. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
libURLDownloadToFile noob problem
I have never used libURLDownloadToFile, my first attempt was unsuccessful :( My code: ON mouseUp libURLSetFTPMode passive -- I tried active also answer folder where? libURLDownloadToFile ftp://user:[EMAIL PROTECTED]/ mim.txt, it END mouseUp When I do this: on myProgress theURL,theStatus put theStatus into fld status put cr libURLErrorData(theURL) into fld status end myProgress My status field reads: error socket not open Do I have to open a socket specially for a libURLDownloadToFile operation? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problem with Variable watcher
Hershel Fisch wrote: Hi all I'm wondering why at times on my variable watcher screen I get two flds on the bottom instead of one and when I select a line (var) in the top part I don't see it in the bottom window (or actually it appears in the frame between the two flds? I'm not sure I understand exactly what you are seeing. Normally the variable watcher will have three panes -- two at the top and a wide one at the bottom. The top left list contains variable names. The top right list shows the first line of each variable's value. If you click on one of those lines, the bottom pane shows the entire content of the value. If, however, the variable is an array, the bottom pane will have two sides too. The left bottom list shows the keys of the array. The right bottom list shows the first line of each key. Is that what you mean? -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: CloseField
Hershel Fisch wrote: On 6/8/06 8:11 PM, Hershel Fisch [EMAIL PROTECTED] wrote: To clarify my self, When a fld is exited via tab key it automatically selects the next fld in order of the layer and when put in a closeField message this doesn't happen It selects the first fld of the cd and at times it selects two flds, the next layer of the cd (the next fld) and the first of the cd? on closeField answer a with b or c if it is c then beep end if end closeField The default behavior is to select the first editable field when the card opens or resumes. The answer dialog is actually a separate stack, so when you dismiss it, the original card receives a resumestack message and the first field is selected again, just like when you first opened it. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution