Re: [OT] Not just because

2009-05-14 Thread Stephen Cox
Heh.

I'd be happy to find simple calendar popups.


On 5/14/09 5:01 AM, "Luis"  wrote:

> Your mention of 3rd party support triggered a thought: What would it
> take to create a Rev plugin ('connector') to handle foreign language
> libraries?

-- 
Stephen Cox
Chief geek | Networkx | networkxfla.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: Cancel a repeat with a button

2009-05-13 Thread Stephen Cox
I was close. ;)

I knew about the wait command.


On 5/14/09 12:31 AM, "Scott Rossi"  wrote:

> Recently, Stephen Cox wrote:
> 
>> Why not? You checking a global variable. He said it would take a while to
>> complete. And I'm assuming he's running the loop in the background.
> 
> Revolution doesn't process events asynchronously.  During a straightforward
> repeat loop, nothing gets processed or sent while the loop executes, so a
> mouseclick would never be detected.  You need to make allowances in the
> script for this to happen.  There are a few ways this could be done:
> 
> You could poll the mouse: "if the mouse is down...".  This practice has been
> discouraged in the past because it was deemed in efficient and somewhat
> unreliable, but with recent versions of Rev and newer machines, it can work.
> 
> You could add a "wait" command: "wait 10 millisecs with messages".  The
> "with messages" portion allows messages and events to be processed in
> between the loops.  Here's where a global, custom property, or other
> variable could be checked.
> 
> Another way entirely to run a loop is using "send in...":
> 
> on myProcessingLoop
>   doMyStuff
>   send "myProcessingLoop" to me in 10 millisecs
> end myProcessingLoop
> 
> This method inherently allows for other events/messages to be processed.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> 
> 
> ___
> 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

-- 
Stephen Cox
Chief geek | Networkx | networkxfla.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: Cancel a repeat with a button

2009-05-13 Thread Stephen Cox
Why not? You checking a global variable. He said it would take a while to
complete. And I'm assuming he's running the loop in the background.

User presses cancel button, setting the global variable to True

In the loop, last statement checks the variable (it's global so the code
will see it).  If True, exit (or whatever cleanup he has, then exit).


On 5/13/09 11:08 PM, "Colin Holgate"  wrote:

> 
> On May 13, 2009, at 11:00 PM, Stephen Cox wrote:
> 
>> Why not just set a global variable and check it in the loop? Have
>> the cancel
>> button set the variable to True when pressed.
> 
> 
> You would be in a tight repeat loop at the time, so would mouseups on
> other objects even work?
> 
> 
> ___
> 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

-- 
Stephen Cox
Chief geek | Networkx | networkxfla.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: Cancel a repeat with a button

2009-05-13 Thread Stephen Cox
Why not just set a global variable and check it in the loop? Have the cancel
button set the variable to True when pressed.


On 5/13/09 10:01 AM, "Ludovic Thébault" 
wrote:

> Hello,
> 
> How interrupt a repeat loop by a button ?
> While a copy of a lot of files with rev, i want the user can cancel
> the copy.
> 
>   repeat for each line l in it
>if char 1 of l <> "." then
>  put convertpath(tstack&"/"&l) into tpath1
>  put convertpath(tlibrary&"/") into tpath2
>  get shell("cp "&tpath1&&tpath2)
> end if
> end repeat
> 
> Thanks.
> ___
> 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

-- 
Stephen Cox
Chief geek | Networkx | networkxfla.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: [OT] Not just because

2009-05-13 Thread Stephen Cox
Why not a few examples of languages that you can also use to write off line
apps too. Like Python or Ruby? Both are used on the web (Rails, Django,
Zope, Merb - to name a few). And both are used to write cross platform apps,
even gui's using something like Qt.

Also Java. And Realbasic has Yuma. Not to mention all the .Net solutions.
And Silverlight and Flex (though I hate, HATE Action Script 3.0).

What makes OnRev unique is the language. Nothing else really. In fact
considering the amount of 3rd party support for Ruby, Python and .Net you
are at a disadvantage using OnRev. Being that you have to reinvent the
wheel. 

Course this is true with off line apps as well. I like Revolution but it has
a VERY small 3rd party plug-in community. And a backward UI, compared to the
rest. What's kept it on my machine so far is the language. In fact we just
bought another copy.


On 5/13/09 12:27 PM, "Luis"  wrote:

> Hiya,
> 
> I didn't like PHP when I first went into it, plus some host apply
> restrictions to what functions you can call.
> 
> Cheers,
> 
> Luis.
> 
> 
> On 13 May 2009, at 16:53, Mark Schonewille wrote:
> 
>> Hi Luis,
>> 
>> If you're in a need for an "alternative", what's wrong with PHP
>> (which isn't an alternative at all but rather the mainstream tool
>> for server-side scripting)?
>> 
>> --
>> Best regards,
>> 
>> Mark Schonewille
>> 
>> Economy-x-Talk Consulting and Software Engineering
>> http://economy-x-talk.com
>> http://www.salery.biz
>> Dutch forum: http://runrev.info/rrforum
>> 
>> New: Snapper Screen Recorder 2.0.1
>> Download at http://snapper.economy-x-talk.com
>> 
>> On 13 mei 2009, at 17:14, Luis wrote:
>> 
>>> Seeing as it seems to be OT season, and I work in the office of
>>> stirring things up:
>>> 
>>> http://runbasic.com/
>>> 
>>> http://runbasicnet.com/
>>> 
>>> http://www.runbasic.com/seaside/go/runbasic?
>>> _s=hDedgqXdSCYDuTMh&_k=nFUdiyqV
>>> 
>>> Actually, I was looking into comparable options to On-Rev to see
>>> where the advantages/disadvantages would be, and I came across
>>> this Smalltalk based option.
>>> 
>>> Other than LISP based systems that only have a partial features
>>> set, this is all I can find that is 'similar'.
>>> 
>>> We've gone through Tilestack, wondering if anyone has seen RunBASIC.
>>> 
>>> Cheers,
>>> 
>>> Luis.
>> 
>> ___
>> 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

-- 
Stephen Cox
Chief geek | Networkx | networkxfla.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: [OT] Website

2009-05-13 Thread Stephen Cox
Take a look at Squarespace @ http://www.squarespace.com/

Starts at 8 dollars a month. It's a kick ass service. Has the best CSS
implementation I've ever seen. You design your whole site at their site by
moving pieces around the sreen. And it's all done in a browser.

It's also compatible with everything. So there is no data lock with these
guys. I've turned lot on to them and not heard a bad thing yet.

Free usually means crap. Every free service I've seen either has ads, forces
you to add a link-farm page, or has such low/slow designed to get you to pay
for better. Not worth the trouble when you can get something like
Squarespace for so little.


On 5/13/09 2:17 PM, "Richmond Mathewson" 
wrote:

> Have finally transferred my website here:
> 
> http://richmond.b0x.com/
> 
> for what its worth.  For people with a lot of free time on their
> hands there is a link to my 1995 Master's Thesis in Cognitive Linguistics.
> AND, for the record, you should be able to download the file without
> joining the Yahoo group where it is stored. I will try to reset all
> my Yahoo groups so that resources can be downloaded in this way.
> 
> At least in this way I can circumvent the old versu new revOnline problem
> until I am the owner of a version of RR that can access the new version.
> 
> HOWEVER, that is not the point of this posting.
> 
> I was recommended a number of websites by members of
> this Use-list - for which, a big Thank You! I am, confined to a free
> website, however.
> 
> The most interesting suggestion was:
> 
> http://www.tripod.lycos.com/
> 
> when one clicks on the FREE option one is directed to a page that
> just states this:
> 
> "402 Payment Required
> 
> This service requires payment, contact the server administrator to make
> arranements for
> payment and have the service provisioned. You will need to provide the
> following information:
> 
> Your full name
> Your email address
> Contact Telephone number
> Click your browser's back button to locate help for this service."
> 
> I have trawled through a further 20 services that are supposedly free,
> but, somewhere
> along the line they ask for your Credit/Debit card details.
> 
> The free web-hosting I have ended up with haven't tried any financial
> trick on me, yet;
> but FREE is as FREE does; no ZIP files and no PDF files. I am prepared
> to put up with those
> restrictions for the ease and price of a free website.
> ___
> 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

-- 
Stephen Cox
Chief geek | Networkx | networkxfla.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: [OT] Politics and Programming

2009-05-13 Thread Stephen Cox
No it's laziness. Windows is like 90% of the market. It's a pretty safe bet
that your customer will be running Windows. So companies IT departments were
lazy and wrote for IE only. Stupid, I know. It's the is the old way of
thinking. And it's changed.

With phones, the mac, and netbooks (running linux) on the rise companies are
scrambling to represent. Frankly any company that was stupid enough to
develop for IE only deserves what they get. The Bank of Scotland should lose
your business.



On 5/13/09 10:29 AM, "Richmond Mathewson" 
wrote:

> Now these may not be 'Political' in the sense of politics,
> but they are political insofar as they affect other people,
> marketing and so on.

___
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] Politics and Programming

2009-05-13 Thread Stephen Cox
LOL LOL LOL.

-Stephen cox


On 5/13/09 10:09 AM, "Kay C Lan"  wrote:

> On Wed, May 13, 2009 at 5:21 PM, Richmond Mathewson <
> richmondmathew...@gmail.com> wrote:
> 
>> 
>> Every decision we, as programmers, make has some sort of
>> political impact, and as such, needs to be thought about very
>> carefully.
>> 
> 
> Every decision? Like the choice of my background colour is going to have any
> political connotation, who cares if it's red or blue. Ah then again, bad
> example, what about green. No, seems like I'm jumping on the eco bandwagon.
> Pink? No sexual orientation might be misconstrued. OK I'll just go with
> boring old white. Ooops just lost the black and the youth vote. OK so
> its., I don't know ;-)
> ___
> 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: Details on how to apps mac like?

2009-05-12 Thread Stephen Cox
Thanks. I got it worked out. And thanks about the margin.. Didn't know that.

Actually you can do some pretty nice interfaces with this. ;)


On 5/12/09 2:38 PM, "J. Landman Gay"  wrote:

> Stephen Cox wrote:
>> No mater how close I get my icon
>> bar to the windows title bar, the card¹s background bleeds in. Almost like
>> there¹s cell padding going on.
> 
> I'm not clear what you're seeing here, but a couple of thoughts: if you
> are using a group for your toolbar, note that groups have a margin
> property. Try setting the group's margins to zero. Also make sure the
> group itself is opaque so the background card color doesn't show through.

___
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


Details on how to apps mac like?

2009-05-12 Thread Stephen Cox
Hi,

So far the only application I¹ve found written in revolution that looks like
a native Mac app is ScreenSteps.  Granted, I haven¹t looked long.  :)

Anyway my questions:

How¹d they created the icon bar? And I mean the area right below the title
bar of the window? I¹ve been busting my head playing with rectangles, but
no. And I assume the blue area on the left is also a rectangle with a
background? The problem I am having is I can create the areas and background
color easy enough. Placement is my problem. No mater how close I get my icon
bar to the windows title bar, the card¹s background bleeds in. Almost like
there¹s cell padding going on.

I¹m modeling my app against the Mac Dictionary Application. Trying to
simulate a large title/tool bar (the app is a database front end ­ for
internal use). 

Thanks,

Stephen Cox
___
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: Example revolution apps?

2009-05-12 Thread Stephen Cox
That's encouraging.

Learning Revolution, I've been frustrated with the design tools. But as long
as I know things are possible I'm not worried. Thanks.


On 5/12/09 5:08 AM, "kl...@major.on-rev.com"  wrote:

> Hi Stephen,
> 
>> Is ScreenSteps by Blue Mango written in Revolution?
> 
> Yes :-)
> 
>> -Stephen Cox
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major.on-rev.com
> kl...@major.on-rev.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


Example revolution apps?

2009-05-12 Thread Stephen Cox
Is ScreenSteps by Blue Mango written in Revolution?

-Stephen Cox
___
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] GIMP paint studio

2009-05-11 Thread Stephen Cox
Does the Gimp still require xwindows to run on the mac? Or did someone
finally port it to run natively?


On 5/11/09 3:17 PM, "Richmond Mathewson" 
wrote:

> Those of you who cannot afford Photoshop, have 'funny feelings'
> about proprietary software, don't "do" either Macintosh or Windows,
> can afford Photoshop but would rather spend the money on
> Runtime Revolution  :)
> 
> (err, why would you spend an awful lot of money on something
> when there is something just as good available for FREE?
> 
> Much more sensible to spend it on something that is extremely
> good and is not available for FREE . . . Runtime Revolution)
> 
> might well give this a look:
> 
> http://webupd8.blogspot.com/2009/05/gim-paint-studio-gimp-optimized-for.html
> 
> It presupposes you already have GIMP installed:
> 
> http://www.gimp.org/
> 
> It is "poly-platform"!
> 
> ___
> 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: Mac icons

2009-05-10 Thread Stephen Cox
Thanks. 

-Stephen COx


On 5/10/09 6:19 AM, "Mark Schonewille" 
wrote:

> Dear Stephen,
> 
> Do you want to create an icon to display on your standalone
> application package in the Finder, or are you looking for pictures
> that you can use as icons in your interface?
> 
> You can use Icon Composer to create icons from almost any picture.
> Icon composer creates icns files, which you can use in the standalone
> settings of Revolution.
> 
> There are several sources where you can download interface icons. Here
> are a few sources:
> <http://jesseross.com/clients/etoile/ui/icons/>
> <http://fasticon.com/freeware/>
> <http://www.iconshock.com/vista-icons.php>
> <http://www.cubeyellow.com/downloads.html>
> <http://www.famfamfam.com/lab/icons/>
> 
> I created an unsophisticated set of small icons, which you can find
> here:
> <http://economy-x-talk.com/developers.html>
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
> Dutch forum: http://runrev.info/rrforum
> 
> New: Snapper Screen Recorder 2.0.1
> Download at http://snapper.economy-x-talk.com
> 
> On 10 mei 2009, at 08:20, Stephen Cox wrote:
> 
>> I was wondering what icons ya use for your projects (on Mac)? Looks
>> like
>> Revolution uses Carbon (when are they moving to Cocoa ­ Carbon is
>> being
>> dropped VERY soon). Has anyone used the Cocoa icons? Or is there a
>> set I can
>> buy, for Revolution?
>> 
>> Thanks
>> 
>> -Stephen Cox
> 
> 
> ___
> 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: Mac icons

2009-05-09 Thread Stephen Cox
Much thanks. I got the dev tools installed.


On 5/10/09 2:53 AM, "Richmond Mathewson" 
wrote:

> If you have the Development tools installed there is a 'Icon Composer'
> program lurking there (in the Utilities folder); drag your RR images
> there and they will be 'magically' made into icons for you.
> 
> Alternatively, just use a PNG image.  :)
> 
> Stephen Cox wrote:
>> I was wondering what icons ya use for your projects (on Mac)? Looks like
>> Revolution uses Carbon (when are they moving to Cocoa ­ Carbon is being
>> dropped VERY soon). Has anyone used the Cocoa icons? Or is there a set I can
>> buy, for Revolution?
>> 
>> Thanks
>> 
>> -Stephen Cox
>> ___
>> 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


Re: OT Re: Newbie... Strict Compilation mode

2009-05-09 Thread Stephen Cox
Agreed.

Now must I send bribes to end this "debate"?


On 5/10/09 2:50 AM, "Richmond Mathewson" 
wrote:

> God may forgive you, but the rest of us will . . .
> 
> love you and cherish you for initiating a useful and
> stimulating discussion!
> 
> And, the moral of the story is: you can be bl**dy-minded like me,
> or you can be bl**dy-minded like somebody else, or (what a luxury)
> you can be bl**dy-minded in you own way.
> 
> To my mind, the 'tolerance' of Runtime Revolution is what makes it
> so much more accessible than most other programming environments.
> 
> Stephen Cox wrote:
>> Well..  God.. Sorry all for starting this. :)
>> 
>> Use what you want. I'll keep it on cause I'm used to that type of
>> environment. Used to declaring variables. And it's in my head.
>> 
>> 
>> 
>> On 5/10/09 1:09 AM, "Joe Lewis Wilkins"  wrote:
>> 
>>   
>>> Following this thread has pushed another one of my buttons and I
>>> cannot resist getting on my soap-box and inserting my two-bits.
>>> 
>>> We have "all" become accustomed to protecting ourselves from
>>> ourselves. To the point where some of us pass laws requiring that
>>> everyone protect themselves. I'm talking about INSURANCE. The best
>>> "insurance" against having anything happen is an alert and active
>>> mind.  Insurance merely puts us to sleep; allowing us to be less than
>>> vigilant and knowledgeable within all aspects of our lives. Not
>>> declaring vars merely promotes sloppiness and, eventually, stupidity.
>>> The President is going to spend enormous sums of money promoting
>>> Health Insurance, when the best insurance is almost free; preventive
>>> medicine which we have neglected for decades. We just need to be
>>> diligent about all things. Education, eduction, education
>>> 
>>> Joe Wilkins
>>> 
>>>   On May 9, 2009, at 8:47 PM, Mark Wieder wrote:
>>> 
>>> 
>>>> Jacque-
>>>> 
>>>> Saturday, May 9, 2009, 6:01:53 PM, you wrote:
>>>> 
>>>> Ah... I *knew* this would push Jacque's buttons... 
>>>> 
>>>>   
>>>>> 1. The main strength of xtalk is that you do not have to declare or
>>>>> type
>>>>> variables. Sticking them up there at the top of every handler removes
>>>>> one of the main advantages of using Rev in the first place.
>>>>> 
>>>> I seriously take issue with that being "the main strength" of xtalk.
>>>> 
>>>>   
>>>>> 5. And finally, what's wrong with being lazy? :) The smart programmer
>>>>> finds the easiest way to do things. That's what Rev is all about.
>>>>> 
>>>> Laziness is one of the big reasons I *do* declare my variables. If the
>>>> compiler is smart enough to catch all kinds of errors for me, why
>>>> should I go through all the debugging work at runtime? I believe in
>>>> letting the computer do the hard work for me, otherwise I might as
>>>> well just be coding the cpu's opcodes by hand.
>>>> 
>>>>   
>>>>> None of these things is outweighed for me by the fact that
>>>>> explicitVars
>>>>> might catch a few typos. The engine catches most of those anyway and
>>>>> throws an error.
>>>>> 
>>>>> Back to today's response:
>>>>> 
>>>>> The debugger pinpoints the exact source of the misspelling if it
>>>>> happens; how hard is that? I'm a pretty good typist though, so I
>>>>> don't
>>>>> get caught out too often. I suppose if you are really as bad a
>>>>> typist as
>>>>> your theoretical example, then yes, you'd want some help. ;)
>>>>> 
>>>> 
>>>> ...Jacque, you ignorant slut...
>>>> 
>>>> You're missing the point. The purpose of explicitVars is to catch
>>>> things that slip by the compiler otherwise. If it's just a simple
>>>> misspelling of a keyword the compiler will catch it anyway, as you
>>>> pointed out. But explicitVars will let you know if you've mistyped a
>>>> variable name when the "friendly" compiler would helpfully generate a
>>>> new variable 

Mac icons

2009-05-09 Thread Stephen Cox
I was wondering what icons ya use for your projects (on Mac)? Looks like
Revolution uses Carbon (when are they moving to Cocoa ­ Carbon is being
dropped VERY soon). Has anyone used the Cocoa icons? Or is there a set I can
buy, for Revolution?

Thanks

-Stephen Cox
___
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 Re: Newbie... Strict Compilation mode

2009-05-09 Thread Stephen Cox
Well..  God.. Sorry all for starting this. :)

Use what you want. I'll keep it on cause I'm used to that type of
environment. Used to declaring variables. And it's in my head.



On 5/10/09 1:09 AM, "Joe Lewis Wilkins"  wrote:

> Following this thread has pushed another one of my buttons and I
> cannot resist getting on my soap-box and inserting my two-bits.
> 
> We have "all" become accustomed to protecting ourselves from
> ourselves. To the point where some of us pass laws requiring that
> everyone protect themselves. I'm talking about INSURANCE. The best
> "insurance" against having anything happen is an alert and active
> mind.  Insurance merely puts us to sleep; allowing us to be less than
> vigilant and knowledgeable within all aspects of our lives. Not
> declaring vars merely promotes sloppiness and, eventually, stupidity.
> The President is going to spend enormous sums of money promoting
> Health Insurance, when the best insurance is almost free; preventive
> medicine which we have neglected for decades. We just need to be
> diligent about all things. Education, eduction, education
> 
> Joe Wilkins
> 
>   On May 9, 2009, at 8:47 PM, Mark Wieder wrote:
> 
>> Jacque-
>> 
>> Saturday, May 9, 2009, 6:01:53 PM, you wrote:
>> 
>> Ah... I *knew* this would push Jacque's buttons... 
>> 
>>> 1. The main strength of xtalk is that you do not have to declare or
>>> type
>>> variables. Sticking them up there at the top of every handler removes
>>> one of the main advantages of using Rev in the first place.
>> 
>> I seriously take issue with that being "the main strength" of xtalk.
>> 
>>> 5. And finally, what's wrong with being lazy? :) The smart programmer
>>> finds the easiest way to do things. That's what Rev is all about.
>> 
>> Laziness is one of the big reasons I *do* declare my variables. If the
>> compiler is smart enough to catch all kinds of errors for me, why
>> should I go through all the debugging work at runtime? I believe in
>> letting the computer do the hard work for me, otherwise I might as
>> well just be coding the cpu's opcodes by hand.
>> 
>>> None of these things is outweighed for me by the fact that
>>> explicitVars
>>> might catch a few typos. The engine catches most of those anyway and
>>> throws an error.
>> 
>>> Back to today's response:
>> 
>>> The debugger pinpoints the exact source of the misspelling if it
>>> happens; how hard is that? I'm a pretty good typist though, so I
>>> don't
>>> get caught out too often. I suppose if you are really as bad a
>>> typist as
>>> your theoretical example, then yes, you'd want some help. ;)
>> 
>> 
>> ...Jacque, you ignorant slut...
>> 
>> You're missing the point. The purpose of explicitVars is to catch
>> things that slip by the compiler otherwise. If it's just a simple
>> misspelling of a keyword the compiler will catch it anyway, as you
>> pointed out. But explicitVars will let you know if you've mistyped a
>> variable name when the "friendly" compiler would helpfully generate a
>> new variable instead of using the one you intended. And it will help
>> when your fingers forget to place a space after "the" and instead of
>> the variableNames ending up in a variable you end up with empty.
>> 
>>> I once took over a project from someone who used explicit
>>> variables. I
>>> stripped out all the declarations so I could read the scripts
>>> comfortably. The stack size was cut in half (!). No lie. There were
>>> all
>>> kinds of handlers in there with something like 8 lines of
>>> declarations
>>> and three lines of actual script. Waste of time and space.
>> 
>> I recognize hyperbole when I see it, but nonetheless I don't think you
>> can have 8 lines of declarations and three lines of actual script (and
>> of course someone will post some code that proves me wrong). If you
>> come across a handler like this then you have at least five lines of
>> declarations that are not being used. And then you're absolutely right
>> to strip them out .
>> 
>> -- 
>> -Mark Wieder
>> mwie...@ahsoftware.net
> 
> ___
> 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: Newbie Question 5 of N

2009-05-09 Thread Stephen Cox
Actually I'm not so sure it even matters, considering this isn't a typed
language.

I was just surprised when I ran my first try at code and had errors at
runtime. Almost every compiler I've used checked variables. Why I asked in
the first place.





On 5/9/09 5:24 PM, "Richmond Mathewson"  wrote:

> Writing as someone who, generally, learns from his errors, and
> trying to work out why they are error, this sounds as if it would
> not be a great advantage to me.
> 
> Probably much more useful for somebody trying to belt out
> something with a very quick SDLC or turn-around.
> 
> Mark Wieder wrote:
>> Richmond-
>> 
>> Saturday, May 9, 2009, 1:14:47 PM, you wrote:
>> 
>>   
>>> So; what is 'strict compilation', and why should we be
>>> interested?
>>> 
>> 
>> "Strict compilation" was formerly referred to as "explictVars".
>> Setting the checkbox *forces* you to declare all your variables or be
>> faced with compile errors. The advantage is that it cuts down
>> dramaticly on the number of bugs in one's coding. You can't, for
>> example, mistakenly type and compile
>> 
>> put the last chr of line x of field 3
>> or
>> put thevariablenames into field 1
>> 
>>   
> 
> ___
> 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: Why Rev needs a cookbook (newb questions)

2009-05-09 Thread Stephen Cox
Why not just comment - leave notes - in the online Dictionary? That be easy
for all to di and help a lot.


On 5/9/09 2:59 AM, "Peter Alcibiades"  wrote:

> I said this before, but its why Rev needs a cookbook on the lines of Carla
> Schroder's great  "Linux Cookbook"
> 
> Steven Cox's queries illustrate the problem very clearly. Imagine a kitchen
> with lots of pots and pans and ingredients in it.  It comes with a 400
> page guide detailing the function of every one.
> 
> We now have an intelligent Martian who has just been employed as a cook.
> His first assignment is spaghetti carbonara, or cassoulet.  Where does he
> start?
> 
> What he has is a superb kitchen manual.  What he wants is a cookbook, with
> a systematic set of entries like this (from the Rev for C programmers
> page):
> 
> "To filter a handler so that it only responds to certain objects, rather
> than every object below it in the hierarchy, use the target function to
> determine which object originally received the message being handled.
> 
> "To create a code library, place the handlers you want to re-use in any
> object that¹s available in your a stack, then use the insert script
> command to add that object to the hierarchy."
> 
> So what Steven is looking for is a cookbook with entries like "to empty a
> field..""to check for a variable.".  "to make elements in a
> list field clickable"  "to change the mouse to a hand while
> hovering..."
> 
> Without this, learning becomes a Zen like experience.  You know the story
> of the young man wanting to learn swordsmanship?  He enrols with a master,
> and the first day when expecting to meet for a lesson, is astonished to be
> hit violently over the head with a stick.  His master has sneaked up on
> him.  As time goes by the attacks continue and become more and more
> devious.  One day he is about to enter a room and something makes him
> pause.  His master emerges from behind the door and bows deeply.
> 
> Its OK but a recipe book is easier.
> 
> Peter
> ___
> 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: Newbie... Strict Compilation mode

2009-05-09 Thread Stephen Cox
Force of habit. And there are many languages that require variable checking.
And indeed typing. Like C, C++, C#, VB , Python, JS, AS, ST, Perl, and on
and on. Anyway it's one of Revolution strengths not to requiring variable
typing and creation.


On 5/9/09 4:09 PM, "Richmond Mathewson"  wrote:

> Funny, I've never declared a variable in Runtime Revolution; I thought that
> was something that went out with PASCAL: even my BBC doesn't require me
> to that in BBC BASIC.  I remember feeling 'odd' when I got my BBC (ah, all
> those years ago, out in the desert) that BBC BASIC didn't even need the
> LET statement
> anymore.
> 
> May be this is a goofy question; but it can probably bear
> the asking one more time:
> 
> What, if any, is the advantage of declaring variables in RR ?
> 
> and, just to show you exactly how goofy I am:
> 
> How do you declare variables in RR ?
> 
> Mark Wieder wrote:
>> Stephen-
>> 
>> Saturday, May 9, 2009, 11:10:46 AM, you wrote:
>> 
>>   
>>> Ok I just created a new stack and put:
>>> 
>> 
>>   
>>> local temp
>>> put "1234" into temp
>>> put "1234" into kemp
>>> 
>> 
>>   
>>> And it compiles with no errors. Maybe I missed a checkbox someplace. Is
>>> "Strict Compilation Mode" in the Script Editor section the only option that
>>> has to be enabled?
>>> 
>> 
>> OK - I think I see what you're doing. If I just put that into a script
>> then I can compile it with or without strict compilation mode. But
>> then there's nothing to execute. I'm not really clear on what is
>> getting compiled at that point. I think as far as the compiler is
>> concerned there's no code to run, so there's nothing to compile.
>> 
>> Try this:
>> 
>> on mouseUp
>>   local temp
>> 
>>   put "1234" into temp
>>   put "1234" into kemp
>> end mouseUp
>> 
>>   
> 
> ___
> 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: Newbie question - how to check for a varible

2009-05-09 Thread Stephen Cox
By the way, off topic a bit:

Wouldn't "I" && "am" be the same as "I " & "am"? ((notice the space after
"I" in the second example")).


On 5/9/09 12:57 PM, "J. Landman Gay"  wrote:

> Stephen Cox wrote:
>> Wait. I don't get this. You saying that checking if an unused variable is
>> empty returns false? Does revolution put some data in a variable when
>> created? 
> 
> Sort of, but only in specific cases, which is mostly a side-effect of
> how friendly Rev's interpreter is and how it deals with strings. (The
> discussion about quoted field names shows how flexible Rev is with
> strings.) If a variable is not specifically created with a value, the
> value of the variable is the variable's name itself.
> 
> This creates a variable without assigning it any value:
> 
> on mouseup
>   put (var = empty) && "Var = " & var
> end mouseup
> 
> You get: false var = var
> 
> But this assigns a value and gives what you'd expect:
> 
> on mouseUp
>   put empty into var
>   put (var = empty) && "Var = " & var
> end mouseUp
> 
> Gives: true var =

___
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: Newbie... Strict Compilation mode

2009-05-09 Thread Stephen Cox
Ok I just created a new stack and put:

local temp
put "1234" into temp
put "1234" into kemp

And it compiles with no errors. Maybe I missed a checkbox someplace. Is
"Strict Compilation Mode" in the Script Editor section the only option that
has to be enabled?


On 5/9/09 12:57 PM, "Mark Wieder"  wrote:

> Stephen-
> 
> Saturday, May 9, 2009, 9:39:27 AM, you wrote:
> 
>> I've run across something. Even with Strict Compilation Mode on the compiler
>> doesn't throw out an error if it sees some undeclared variables. So...
> 
>> Local temp
>> Put "1234" into temp
>> Put "1234" into kemp
> 
>> The compiles misses this completely. Of course it works cause you can create
>> variables on the fly. But isn't the point of Strict Compilation Mode to
>> force you to declare all variables before use?
> 
> I get "compilation error at line 5 (Chunk: can't create a variable with that
> name (explicitVariables?)) near "kemp", char 15"

___
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: Newbie... Strict Compilation mode

2009-05-09 Thread Stephen Cox
Humm I just compiled this and get nothing.


On 5/9/09 12:57 PM, "Mark Wieder"  wrote:

> Stephen-
> 
> Saturday, May 9, 2009, 9:39:27 AM, you wrote:
> 
>> I've run across something. Even with Strict Compilation Mode on the compiler
>> doesn't throw out an error if it sees some undeclared variables. So...
> 
>> Local temp
>> Put "1234" into temp
>> Put "1234" into kemp
> 
>> The compiles misses this completely. Of course it works cause you can create
>> variables on the fly. But isn't the point of Strict Compilation Mode to
>> force you to declare all variables before use?
> 
> I get "compilation error at line 5 (Chunk: can't create a variable with that
> name (explicitVariables?)) near "kemp", char 15"

___
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


Newbie... Strict Compilation mode

2009-05-09 Thread Stephen Cox
I've run across something. Even with Strict Compilation Mode on the compiler
doesn't throw out an error if it sees some undeclared variables. So...

Local temp
Put "1234" into temp
Put "1234" into kemp

The compiles misses this completely. Of course it works cause you can create
variables on the fly. But isn't the point of Strict Compilation Mode to
force you to declare all variables before use?

-Stephen Cox
___
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: Newbie question - how to check for a varible

2009-05-09 Thread Stephen Cox
Wait. I don't get this. You saying that checking if an unused variable is
empty returns false? Does revolution put some data in a variable when
created? 


On 5/9/09 2:44 AM, "Martin Blackman"  wrote:

> There is a gotcha to be aware of here.
> 
> Checking if a previously unused variable is empty returns false. That
> has caught me out a few times.  I wonder why the answer is false. I
> think the engine interprets the variable as a string instead, in the
> same way that 'answer hello' without quotes around hello works.
> ___
> 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: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
By the way, I got the printed user guide. Now this "guide" is one of the
best tech books I've seen. Thank you Revolution for using a font I can
actually read without using a magnifier.

-Stephen Cox


On 5/8/09 5:00 PM, "Richmond Mathewson"  wrote:

> Coupled with 
> the PDF file
> that comes with RR,

___
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: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
Bookmarked. In fact, let me spend some time going over it now. Might have to
waste less of your time on this list. Thanks.

-Stephen Cox


On 5/8/09 4:30 PM, "Devin Asay"  wrote:

> 
> Welcome, Stephen.
> 
> 
> I teach Revolution classes for complete novices, and I have my
> tutorials online at
> 
> http://revolution.byu.edu
> 
> Even though you're an experienced programmer, you might find some of
> the tutorials useful, especially the ones on the Revolution scripting
> language, because I describe how basic concepts in the language work--
> things like variables, literals, if-then, and loops. There's another
> link for Scripting Language Examples, that just shows examples of
> various statements.
> 

___
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


Newbie question - Set the cursor to....

2009-05-08 Thread Stephen Cox
I¹m gonna preface [the subject] all my questions with ³Newbie² so those who
have no interest in nubs can move on. Trust, I know it can be painful. ;)

I got a card. With a label or button. I want to change the cursor of the
mouse to a hand then back to arrow when the user moves on/off the object.

on mouseEnter
set the cursor to hand
end mouseEnter

on mouseLeave
   set the cursor to arrow
end mouseLeave

The above should work? Or am I missing something about the cursor command? I
placed a breakpoint and followed the code. It fires, just doesn¹t change the
cursor.

Maybe I¹m using mouseEnter/mouseLeave incorrectly?

Thanks for any info.

-Stephen Cox
___
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: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
The biggest problem I am having is figuring out what to search for. The
language is so unique. So take my question about emptying a field. Be easy
in an OOP language: empty(Text_field.text) - or something to that effect.
So I would search on "empty" and get tons of info on the function and
various examples.. AND user comments.

Now in Revolution it's also easy but completely different then any of
language. So I search the Dictionary on "empty", got nothing; then "Text
Entry Field", got nothing; then asked here.

I'm not harping on Revolution. I like it. It's just different from anything
else on the market. So a FAQ that shows JAVA or C syntax alongside
Revolution would be a god-send. Just some common functions and procedures.
The manual is good, but has no reference to other languages. It would help
get my head out of OOP into Revolution.



On 5/8/09 3:54 PM, "Joe Lewis Wilkins"  wrote:

> Hey Jacque,
> 
> Has no one ever put together an FAQ for Rev newbies? I realize that
> could be a pretty horrendous effort, but should be useful and doable.
> 
> Joe Wilkins
> 
> On May 8, 2009, at 12:44 PM, J. Landman Gay wrote:
> 
>> Yeah, well, since you're new, *you* have to write "set the cursor to
>> none". The rest of us will continue to use our bad habits. :)
>> 
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
> 
> Joe Lewis Wilkins
> Architect
> Director of Product Development for GSI
> 760-738-1721
> 
> 
> 
> ___
> 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: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
And you just answered another question I was about to scan the Dictionary
for. Thanks.

-Stephen Cox


On 5/8/09 3:25 PM, "J. Landman Gay"  wrote:

> "set cursor to none"

___
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: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
Heh.

You know I tried that. But didn't use quotes. So I assume when referring to
objects on cards you have to use quotes?


On 5/8/09 5:54 AM, "Phil Jimmieson"  wrote:

> put empty into field "yourfieldname"

___
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: Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
If you only have 1 stack do you have to include the stack ID?


On 5/8/09 5:48 AM, "stephen barncard" 
wrote:

> put empty into fld x of stack b
> 
> -
> Stephen Barncard
> San Francisco
> http://barncard.com
> 
> 
> 2009/5/8 Stephen Cox 
> 
>> Don¹t hate me for asking another nub question. ;) I am reading the docs.
>> But
>> this language is so different then what I am used to it¹s hard to phrase
>> searches correctly.
>> 
>> Ok, so how do I clear the contents of a field? Namely a text Field. I wanna
>> offer a clear button.
>> 
>> I¹ve been trying various forms of the Delete [Clear} Chunk command. But no
>> luck so far. Then I thought maybe it was related to a property of the Text
>> Field.  And still no.
>> Someone mind pointing me in the right direction?
>> 
>> Much thanks,
>> 
>> -Stephen Cox
>> ___
>> 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


Another newb question - How to you clear a field?

2009-05-08 Thread Stephen Cox
Don¹t hate me for asking another nub question. ;) I am reading the docs. But
this language is so different then what I am used to it¹s hard to phrase
searches correctly.

Ok, so how do I clear the contents of a field? Namely a text Field. I wanna
offer a clear button.

I¹ve been trying various forms of the Delete [Clear} Chunk command. But no
luck so far. Then I thought maybe it was related to a property of the Text
Field.  And still no.
Someone mind pointing me in the right direction?

Much thanks,

-Stephen Cox
___
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: Newbie question - how to check for a varible

2009-05-07 Thread Stephen Cox
Ahhh! "Exists" was there. I was looking at it from the wrong end. Thanks.

God I feel like I have to unlearn all my coding habits and thinking.


On 5/8/09 2:47 AM, "Joe Lewis Wilkins"  wrote:

> Stephen, I should have checked. Check "exists" in the dictionary for
> the rev syntax. Not quite as straightforward or easy as with HC.
> Sorry,
> Joe Wilkins
> 
> On May 7, 2009, at 11:35 PM, Joe Lewis Wilkins wrote:
> 
>> Stephen,
>> 
>> Without even checking, since it's the way it would be done in HC,
>> just use:
>> 
>> if tUsername is empty then 
>> 
>> if tUsername exists then ...
>> 
>> You were already there. Didn't you check these out in the messagebox?
>> 
>> Joe Wilkins
>> 
>> On May 7, 2009, at 11:25 PM, Stephen Cox wrote:
>> 
>>> Really two questions:
>>> 
>>> How do I check if a variable is empty? Sort of like;
>>> 
>>> If !empty(tUsername)
>>>   // process here
>>> Endif
>>> 
>>> Empty() is a Foxpro function that pops if what you are checking is
>>> empty. I
>>> can¹t seem to find it¹s equivalent in revolution. Am I approaching
>>> this the
>>> wrong way? And can I check fields the same way?
>>> 
>>> I suppose I could create an empty variable and just compare the 2?
>>> But is
>>> there an easier way?
>>> 
>>> Next question; checking the existence of a variable? Now I know I
>>> can turn
>>> on Strict Compilation (and I have) but I¹d rather have the
>>> assurance of
>>> checking to see if a variable exist? Is this a non-issue in
>>> Revolution?
>>> 
>>> Thanks
>>> 
>>> -Stephen Cox
> 
> ___
> 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: Newbie question - how to check for a varible

2009-05-07 Thread Stephen Cox
I did search for "empty" in the Online Dictionary. But all I got were
property keywords. I also read the docs on put and answer and saw nothing
about empty.

Anyway know now, thanks.

As for checking for existence of variables.. Just a habit I formed over
years writing dbase and c. "Always check the existence of a variable before
you take any action on it". The compilers of today are more sophisticated so
I'll probably wean my way off it.


On 5/8/09 2:40 AM, "Mark Schonewille" 
wrote:

> Hi Stephen,
> 
> 
> Search the docs for "empty". It will show you things like
> 
> put empty into x
> set the cProp to empty
> 
> So, you will also want to read up on "put" and "set".
> 
> There is also a function "variableNames", which will probably be very
> useful to you. Why do you want to check for the existence of a
> variable? I do this very, very rarely and only in really advanced
> projects.
> 
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
> Dutch forum: http://runrev.info/rrforum
> 
> New: Snapper Screen Recorder 2.0.1
> Download at http://snapper.economy-x-talk.com
> 
> On 8 mei 2009, at 08:25, Stephen Cox wrote:
> 
>> Really two questions:
>> 
>> How do I check if a variable is empty? Sort of like;
>> 
>> If !empty(tUsername)
>>// process here
>> Endif
>> 
>> Empty() is a Foxpro function that pops if what you are checking is
>> empty. I
>> can¹t seem to find it¹s equivalent in revolution. Am I approaching
>> this the
>> wrong way? And can I check fields the same way?
>> 
>> I suppose I could create an empty variable and just compare the 2?
>> But is
>> there an easier way?
>> 
>> Next question; checking the existence of a variable? Now I know I
>> can turn
>> on Strict Compilation (and I have) but I¹d rather have the assurance
>> of
>> checking to see if a variable exist? Is this a non-issue in
>> Revolution?
>> 
>> Thanks
>> 
>> -Stephen Cox
> 
> ___
> 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: Newbie question - how to check for a varible

2009-05-07 Thread Stephen Cox
Lol. Of course. I knew it would be easy. Thanks.

For the life of me I could not find an example in the docs; the user guild
or online.

The messagebox? I hardly use it. Gets in the way mostly. I've been using it
to look at global variables. I know you can run commands. But if you don't
know the commands, it's no help. Or am I wrong about this?


On 5/8/09 2:35 AM, "Joe Lewis Wilkins"  wrote:

> Stephen,
> 
> Without even checking, since it's the way it would be done in HC, just
> use:
> 
> if tUsername is empty then 
> 
> if tUsername exists then ...
> 
> You were already there. Didn't you check these out in the messagebox?
> 
> Joe Wilkins
> 
> On May 7, 2009, at 11:25 PM, Stephen Cox wrote:
> 
>> Really two questions:
>> 
>> How do I check if a variable is empty? Sort of like;
>> 
>> If !empty(tUsername)
>>// process here
>> Endif
>> 
>> Empty() is a Foxpro function that pops if what you are checking is
>> empty. I
>> can¹t seem to find it¹s equivalent in revolution. Am I approaching
>> this the
>> wrong way? And can I check fields the same way?
>> 
>> I suppose I could create an empty variable and just compare the 2?
>> But is
>> there an easier way?
>> 
>> Next question; checking the existence of a variable? Now I know I
>> can turn
>> on Strict Compilation (and I have) but I¹d rather have the assurance
>> of
>> checking to see if a variable exist? Is this a non-issue in
>> Revolution?
>> 
>> Thanks
>> 
>> -Stephen Cox
> 
> ___
> 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


Newbie question - how to check for a varible

2009-05-07 Thread Stephen Cox
Really two questions:

How do I check if a variable is empty? Sort of like;

If !empty(tUsername)
// process here
Endif

Empty() is a Foxpro function that pops if what you are checking is empty. I
can¹t seem to find it¹s equivalent in revolution. Am I approaching this the
wrong way? And can I check fields the same way?

I suppose I could create an empty variable and just compare the 2? But is
there an easier way?

Next question; checking the existence of a variable? Now I know I can turn
on Strict Compilation (and I have) but I¹d rather have the assurance of
checking to see if a variable exist? Is this a non-issue in Revolution?

Thanks

-Stephen Cox




___
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: WOW Scott Rossi!

2009-05-07 Thread Stephen Cox
Add my praise to this chorus. I can't believe some of the things you've down
with Revolution. Amazing. Thanks.

-Stephen Cox


On 5/7/09 4:56 PM, "viktoras d."  wrote:

> Thanks Scott,
> 
> extremely useful information and well done!
> 
> Best regards
> Viktoras
> 
> Scott Rossi wrote:
>> Recently, Jim Bufalini wrote:
>> 
>>   
>>> GREAT article and demo stack in the latest revUP! Fantastic work, Scott. :-)
>>> 
>> 
>> Thanks -- hope you found something of use in there.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, Multimedia & Design
>> 
>> 
>> ___
>> 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


Question about On Rev

2009-04-23 Thread Stephen Cox
Hi,

Can¹t find some information. Hoping those of you involved will be able to
answer.

1. Can I install Rev on my own servers?
2. If so, what servers are supported (Apache, IIS, etc, etc)
3. How much? And what are the license terms?


Thanks,
Stephen Cox


___
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: RapidWeaver

2009-04-19 Thread Stephen Cox
Drupal has gotten easy to learn. There is also very good training available
at Lullabot (http://www.lullabot.com/). Drupal is easy to install and
maintain. Knowing PHP isn't required but is a major plus (for WordPress
too).

Lullabot is all about learning Drupal. WordPress can't compare to Drupal.
I'm not bashing WordPress. I use it. I use Drupal too.

But comparing WordPress to Drupal is like comparing c++ to html. MTV, HBO.
Amnesty International, Goldman Sacs run on Drupal. Actually, there's a mod
for Drupal that runs WordPress, in Drupal. :)

All this said, if all you want is a quick site then Drupal is way over kill.
Use WordPress. It's very good for what it does.

Also take a look at Squarespace at squarespace.com. Squarespace allows
anyone to create a website. It's that simple (It has one of the best CSS
implementations I've ever seen). You can literately build your site (design,
color - even fonts) all online. With WordPress, you either use a template or
roll up your sleeves and modify the template (not that hard - but if you
don't want to write any code, there you are).

I can't say enough good things about Squarespace. And no, I don't work for
them. But I turned my mother's church onto them.

On 4/19/09 2:28 AM, "Chipp Walters"  wrote:

> WordPress is much simpler to use than Drupal, and there are many who have
> used it as a CMS to build commercial websites. Of course it's not as
> all-encompassing nor as hard to learn as Drupal, but you can put up a
> website in minutes. Try Googling "WordPress and CMS"
> ___
> 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

-- 
Stephen Cox
Chief geek of NetworkX
954.537.2692 or 888.564.5223
step...@networkxfla.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: RapidWeaver

2009-04-18 Thread Stephen Cox
WordPress is a PHP blogging system. Has a template system for site design.
It's well used and respected. And there are many plug-ins. It's open source.

Drupal is a PHP framework. You can create any kind of website with it
really. It's referred to as a 'CMS' framework because of huge 3rd party
plug-in support. Drupal is used as a backend to everything from blogs to
corporate websites. Drupal is also open source.

If you needed to create a non-blog site then take a look at Drupal. Keep in
mind there are many web frameworks: like ruby on rails. Django (python),
Seaside (Smalltalk), Zope (python), CAKE (PHP)- and many more. You can
probably find a web framework written in whatever language you want. And
soon, Transcript will probably be added to the list. ;)


On 4/19/09 12:00 AM, "Colin Holgate"  wrote:

> 
> On Apr 18, 2009, at 11:50 PM, Chipp Walters wrote:
> 
>> 
>> I might suggest people interested in creating their own websites,
>> check out
>> WordPress. Free, very easy to use and installs automatically on your
>> On-Rev
>> server account
> 
> 
> It took a couple of minutes of research to figure out that to install
> WordPress on on-rev you would use Fantastico. In the Fantastico page
> it lists WordPress as being a blog, so is it up to be a complete site
> management? Might Drupal be a better choice?
> 
> ___
> 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

-- 
Stephen Cox
Chief geek of NetworkX
954.537.2692 or 888.564.5223
step...@networkxfla.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