Re: backscript and custom properties
Mark, If not a bug, it's very close to it: if you modify the content of the CP in the inspector, for my example by adding The small mammal species at the beginning of the first line, the CP becomes The small mammal species Microtus agrestis lives in marshy meadows and the lines 2 and 3 are lost... The only secure way if you want to modify the CP in the inspector it to rewrite it entirely (and then to change some references in the getprop if necessary). Best Jacques Le 24 déc. 2008 à 04:38, Mark Smith a écrit : Jaques, apologies for replying to what I thought you wrote instead of what you actually wrote :) I've just tried something similar to what you describe, and you're right! I never knew this - I guess this is because the property inspector is simply another stack that does it's stuff in it's own script rather than some behind-behand-the-scenes engine function. I think I'd agree that it's not necessarily desirable - I wonder if it's worth calling it a bug? Best, Mark On 23 Dec 2008, at 23:18, Jacques Hausser wrote: Thank you Mark, I didn't speak about setprop (it's perfectly logic, even if not compulsory, that a setprop would modify a property) , but about a getprop, which, in this case, doesn't change the CP - I tried that: a CP consisting of a basic sentence in a first line, say is living in - right or false ?, a second line with a list of species names sparated by comma and a third line with a list of biotops separated by comma. The getprop takes randomly an item in the second line to replace and an item in the third line to replace . And when you look at the property in the inspector you read at the first line something (different each time) like Microtus agrestis is living in marshy meadows - right or false ?. That's exactly what I want when running the stack, but I would like to see is living in - right or false ? in the inspector - that is the real content of the CP (the pure CP ;o)) My example is perfectly stupid, because it would be far simpler to drop the getprop and to put it's statements into the function but well, it's only an example, and it works... the button's back script is: function DisplayQuestion return the question of me end displayquestion getprop the question put line 1 of the question of me into laquestion put item (random(30)) of line 2 of the question of me into word 1 of laquestion put item (random(21)) of line 3 of the question of me into word 5 of laquestion return laquestion end the question and anywhere in the stack: put DisplayQuestion() into fld SuchAndSuch I was just amazed to discover it was possible to use CPs and getprop in a backscript... after all, the command is not Insert button truc into back but Insert the script of button truc into back... Jacques Le 23 déc. 2008 à 20:51, Mark Smith a écrit : Jaques, you're right - the script can still refer to 'me'. I use buttons as libraries quite often, and the fact that a button's CPs are available can be very useful. I don't tend to use getProp and setProp handlers in those 'button' libraries much - you'd still have to refer to the button's name or ID, and I generally just want a libraries commands and function available. I'm not sure what you'd expect a setProp handler to do other than modify a property, so I don't think I understand what you mean by a 'pure' custom property... Best, Mark On 23 Dec 2008, at 17:45, Jacques Hausser wrote: Hello everybody I just discovered accidentally that when a button's script is inserted as a backscript, it doesn't go there alone, but takes with it its custom properties, getprop and tutti quanti. That could be very useful... Has somebody some experience with this feature ? (I discovered also that the inspector doesn't display the pure custom property, but the property as modified by the getprop... that is perhaps not so good). Happy Christmas (or any other solstice-linked celebration) to you. Jacques ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ 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: OT2: The 'realness' of languages
Very good questions, Peter. It was a short meeting and we weren't talking about an actual proposal, just a future possibility with even that a bit hazy as to requirements. If we ever get down to a solid project, I shall What struck me most was the apparent dismissal of a language out of hand. As for what I would do were I hiring a consultant (as I have done in the past), the most important thing to me is not the means the consultant might use, but his/her reputation as a capable professional, and his/her assurances that my specifications (including perhaps a measure of maintainability) can be met. That might be unprofessional of me, I suppose, but so far it's worked. It aligns with an attitude I have about management: hire wisely through recommendation and prior accomplishment, clearly specify the goals desired, and keep an eye on the work while avoiding interference as much as possible. George On Dec 23, 2008, at 2:22 AM, Peter Alcibiades wrote: It still sounds as if you're failing to probe the question/objection, and it will be impossible to answer it unless you find out exactly what it is. Is it support? Is it a concern about robustness? Is it a matter of internal company policy? What were they expecting it to be written in? C? Python? Perl? VB? It will take different things in each case to answer it. Imagine someone is delivering a proposal to a company you work for, and when asked exactly that same question, replies, it will be written in Scheme. She goes on to explain that she is more productive in Scheme than any other language, she can deliver cross platform apps of the sort you are asking for in a tenth of the time, and she offers to do an instant demo for you of something that would take several hours in C, in about 10 minutes. What do you say to her, and what do you think, and what do you say to your colleagues when you talk to them about it? -- View this message in context: http://www.nabble.com/OT2%3A-The-%27realness%27-of-languages-tp21129752p21140632.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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: OT2: The 'realness' of languages
As you can see from my just-written message, I do agree with you, Viktoras! As for C/C++ mania, I think that language has gotten into the mainstream vocabulary here in the US at least. The others you mention are not as well-known except possibly for Java. I'm glad European clients appear more indifferent to such details as language! George On Dec 23, 2008, at 5:24 AM, viktoras didziulis wrote: in this situation I would ask to show a portfolio CD or examples of software created by the person - the most important thing being experience and ability to complete a product in whatever language the person feels most comfortable. I guess it would be also fair to say that GUI will be created using Revolution RAD and definitely one can expand it with modules written in C++/C. BTW correct me please, this may be wrong impression, but it looks like C++/C adoration is something specific to the USA, isn't it? I know many IT companies in my country and elsewhere in Europe who do not do C and deliver their products (accounting systems, research software, etc...) in Delphi, Java, Abap and the fact that they do not do C seems having zero impact on their successful businesses... Best wishes! Viktoras Peter Alcibiades wrote: It still sounds as if you're failing to probe the question/ objection, and it will be impossible to answer it unless you find out exactly what it is. Is it support? Is it a concern about robustness? Is it a matter of internal company policy? What were they expecting it to be written in? C? Python? Perl? VB? It will take different things in each case to answer it. Imagine someone is delivering a proposal to a company you work for, and when asked exactly that same question, replies, it will be written in Scheme. She goes on to explain that she is more productive in Scheme than any other language, she can deliver cross platform apps of the sort you are asking for in a tenth of the time, and she offers to do an instant demo for you of something that would take several hours in C, in about 10 minutes. What do you say to her, and what do you think, and what do you say to your colleagues when you talk to them about it? ___ 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: OT2: The 'realness' of languages
Oops. ...I shall take up the issue of language and explore it with the client in more detail. What struck me... George On Dec 24, 2008, at 10:22 AM, George C Brackett wrote: Very good questions, Peter. It was a short meeting and we weren't talking about an actual proposal, just a future possibility with even that a bit hazy as to requirements. If we ever get down to a solid project, I shall What struck me most was the apparent dismissal of a language out of hand. As for what I would do were I hiring a consultant (as I have done in the past), the most important thing to me is not the means the consultant might use, but his/her reputation as a capable professional, and his/her assurances that my specifications (including perhaps a measure of maintainability) can be met. That might be unprofessional of me, I suppose, but so far it's worked. It aligns with an attitude I have about management: hire wisely through recommendation and prior accomplishment, clearly specify the goals desired, and keep an eye on the work while avoiding interference as much as possible. George On Dec 23, 2008, at 2:22 AM, Peter Alcibiades wrote: It still sounds as if you're failing to probe the question/objection, and it will be impossible to answer it unless you find out exactly what it is. Is it support? Is it a concern about robustness? Is it a matter of internal company policy? What were they expecting it to be written in? C? Python? Perl? VB? It will take different things in each case to answer it. Imagine someone is delivering a proposal to a company you work for, and when asked exactly that same question, replies, it will be written in Scheme. She goes on to explain that she is more productive in Scheme than any other language, she can deliver cross platform apps of the sort you are asking for in a tenth of the time, and she offers to do an instant demo for you of something that would take several hours in C, in about 10 minutes. What do you say to her, and what do you think, and what do you say to your colleagues when you talk to them about it? -- View this message in context: http://www.nabble.com/OT2%3A-The-%27realness%27-of-languages-tp21129752p21140632.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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
TESTING - IGNORE
Testing Gmail to REV -- Stephen Barncard - San Francisco ___ 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: [OT] Guy Kawasaki on AM Coast to Coast
On Dec 19, 2008, at 10:19 PM, Richard Gaskin wrote: I don't know if there are many Coast to Coast fans here but I know there's a good number of Kawasaki fans, so find your local affiliate station and enjoy. :) I first found out about this show one night driving home from one of the Rev Gatherings at your home. Since then, I listen to it whenever I am out at that hour on a long drive (without my children). Mark Talluto http://www.canelasoftware.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
[ANN] Merry Stykzmas! Stykz Public Beta for Mac is Released
Hey everyone! I wanted to let you all know that I've *finally* gotten the public beta of the Mac version of the stick figure animation program Stykz out the door and on its own site (www.stykz.net). Some of you who were at the last RevCon in Las Vegas may recall me discussing Stykz and the impact that stick figure animation has had on my children and how popular it has become. Stykz is based on Rev 3 and will hopefully provide a platform for me to reach a larger audience on the benefits of using Revolution for development. In any event, if you or anyone you know might be interested in trying their hand at this creative endeavor, venture over to www.stykz.net and download the Mac build and give it a spin. Hope you all have a great holiday, Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.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