RE: Session Variables Not Holding

2004-04-20 Thread Nick Baker
Pascal, Yes, timeout immediately. Max timeout settings in the Administrator are set for 1 hour. Thanks, Nick At 02:18 AM 4/20/2004, you wrote: >What do you mean by not holding? They timeout immediately or after less >than 2 hours? Did you look at the maximum timeout in the administrator? > >Pas

RE: radio button dbclick attribute

2004-04-20 Thread Matthew Walker
value="test"> -Original Message- From: Beth Hales [mailto:[EMAIL PROTECTED] Sent: Wednesday, 21 April 2004 4:15 p.m. To: CF-Talk Subject: radio button dbclick attribute I  have a form which has 14 radio buttons to give the user a choice of different categories.  Once they choose o

Re: CFMX for sale

2004-04-20 Thread Michael Dinowitz
1. It's not really in the best of taste to resell a prize. 2. This is really (really) off topic for this technical list. Please move it to CF-OT. Thanks (I would have posted earlier but I was doing a 3 hour user group on RegEx) [Todays Threads] [This Message] [Subscription] [Fast Unsubscri

radio button dbclick attribute

2004-04-20 Thread Beth Hales
I  have a form which has 14 radio buttons to give the user a choice of different categories.  Once they choose one, there is a search button below which will then take them to the action page.  I would also like to be able to give the user a choice of double clicking on the radio button chosen to t

RE: Softball/Baseball db app? (Maybe OT)

2004-04-20 Thread Burns, John D
I tried doing this and ran into too many variables and it wasn't worth my time so I scrapped it.  There are some free sites out there that do some of it (scheduling, wins/losses, etc) and there are some cheap desktop (and even PDA) programs that do it as well.  I'm not sure if you'd be able to acce

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>So all those people using IS TRUEIS FALSE are doing it wrong? I dont think so... this is valid and good practice. Please don't mix up everything: it IS correct to use your statement, because len(...) will be converted to a boolean. You can use any integer in a boolean _expression_. What is NOT c

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>Aside from that error, my statement is correct. Ok, but temporarily or not, it IS converted, then 4*5 should be converted to true first. Thus the _expression_ should never return 20, the value 20 does not exist anymore. In the _expression_ (true AND 4*5). the only way it can be evaluated, and th

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>Why should 'a' (a number) be treated as equal to the boolean true, if it's not treated as equal to the string 'yes', ... hmmm well, may be for the same reason the _expression_ (true AND 4*5) is evaluated to 20 although it should have a boolean value ;-)) -- _

Re: Site being blocked for content

2004-04-20 Thread Doug White
http://sitereview.cwfservice.net/sitereview.jsp == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com ==   - Original Messag

RE: advice need on multi-version data model design

2004-04-20 Thread Barney Boisvert
I'd go with multiple sequential drafts per application.  You'd have two tables, application and application_draft (or whatever).  The application table would house little beyond a user identifier and a primary key. The application_draft table would contain all the datat in the application. Every ti

RE: Is it a bug or not a bug?

2004-04-20 Thread Gareth Edwards
So all those people using IS TRUEIS FALSE are doing it wrong? I dont think so... this is valid and good practice. This obviously will return "IS TRUE" Gareth. [Gareth Edwards]  -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Wednesday, 21 April 2004 9:13 AM

advice need on multi-version data model design

2004-04-20 Thread Nick Han
I hope I can explain this clearly.  I am working on this application that allows applicants (users) of the program to submit their applications online.  After they submit their applications, they can go back and modify their information before the deadline.  So far, easy enough right?   Here's whe

Re: CFMX for sale

2004-04-20 Thread Cary Gordon
Uh, let me get this straight: The only persons or entities prohibited from selling an NFR product are the ones who do not have it yet. Right? Must be the three letter thing - like WMD. At 03:27 PM 4/20/2004 -0700, you wrote: >Adam wrote > >NFR = not for _resale_ > >My understanding of NFR has al

RE: Is it a bug or not a bug?

2004-04-20 Thread Barney Boisvert
Assuming that there were no implicit coersions in your code, I would agree. However, there are. > > a is truea is not true Is a a true value? > a is truea is not true Is a equal to the string 'yes' > a is truea is not true > a is truea is not true Is a equal to the boolean true? > a is falsea is

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>how can you argue that 20 is not a valid result from a boolean _expression_? Take this code: a is truea is not true a is truea is not true a is truea is not true a is truea is not true a is falsea is not false a is falsea is not false a is falsea is not false it shows: a is true a is not tru

Users getting wrong information

2004-04-20 Thread kelly
I have a website that people can login, take a quiz, view their status, etc...I use cookies to keep track of the users. There is one company that when people from there login, they are seeing other peoples information from that company. Does this have something to do with a proxy server being used?

RE: Is it a bug or not a bug?

2004-04-20 Thread Barney Boisvert
> Not exacltly, there is no difference either in C, Java, etc. > But in C or Java, you will never get any integer value as a > result of a boolean _expression_, you will always get 0 or 1 (or -1) Actually, in Java, using an integer in a boolean context throws a compile time error.  I believe you

Re: SMTP

2004-04-20 Thread Jochem van Dieten
Eric Creese wrote: > Ok I hae a bunch of mail sitting in my Spool folder. I have bounced IIS and the SMTP server several times. These emails were originally in my Undelivered folder cause SMTP was not started when these emails should have been ran. I just ran an email off the server to another ema

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>In a loosely typed language (which CF is), 20 IS true.  There is NO DIFFERENCE. A loosely typed laguages means that values may be automatically converted as needed, it does not mean that they all are the same. 20 is NOT true: 20 is converted to true if one looks at it as a boolean value. >>by C

RE: Is it a bug or not a bug?

2004-04-20 Thread Barney Boisvert
If you agree that 20 is true, then you implicitly agree that 20 is a boolean value.  With that, how can you argue that 20 is not a valid result from a boolean _expression_? barneyb > -Original Message- > From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 20, 2004 4:11

Re: CFMX for sale

2004-04-20 Thread Matt Robertson
Adam wrote >NFR = not for _resale_ My understanding of NFR has always been the final recipient can't sell it.  If thats wrong and an initial sale is permitted, then I and a lot of other people here are wrong on this. So Christian or any other MM person on the list, whats the deal here?  Is NFR li

RE: Windows Server 2003

2004-04-20 Thread Dave Watts
> Ok, our old Dell server needs replacing so we bought a new > beast with Windows Server 2003. I installed our CF Server > 4.5.1 and then the CF 5 Server update, which had problems > finishing. Are there some compatibility issues? Is CF 6.2 > something I can download and use instead. Any help i

RE: Windows Server 2003

2004-04-20 Thread Dave Koehler
Nope, won't get involved there. Thought about it though. lol, dave -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 5:09 PM To: CF-Talk Subject: RE: Windows Server 2003 Why don't you put in a bid for the copy that is up for grabs on the

Re: CFMX for sale

2004-04-20 Thread Cary Gordon
Amen. Cary Gordon The Cherry Hill Company At 08:39 PM 4/20/2004 +, you wrote: >Susan, > >You should sell your copy guilt free. It's your copy and yours alone, >what you do with it is your business. No, I'm not intrested in buying it. >It's just no one else's bizness what you do with it.

Re: Is it a bug or not a bug?

2004-04-20 Thread Bryan F. Hogan
Something got lost here, I agree 20 is true, that's why I think #(true and 20)# should return true and not the numeric value of 20. Barney Boisvert wrote: > In a loosely typed language (which CF is), 20 IS true.  There is NO > DIFFERENCE. > > The implementation (which happens in java, a strongl

RE: Windows Server 2003

2004-04-20 Thread Ray Champagne
Why don't you put in a bid for the copy that is up for grabs on the 'CFMX for sale' thread? LOL Ray At 06:08 PM 4/20/2004, Dave Koehler wrote: >Thanks Mark, that's kind of where we're headed. > >-Original Message- >From: Mark W. Breneman [mailto:[EMAIL PROTECTED] >Sent: Tuesday, Apr

RE: Is it a bug or not a bug?

2004-04-20 Thread Barney Boisvert
You are correct, it's a conversion/coersion, not a cast.  Aside from that error, my statement is correct. #true and "yes" and 1# To evaluate this _expression_, CF says: - is true boolean? Yes. - is true a true value? Yes. - can we stop evaluating? No. - is "yes" boolean? No.    - what is the

SMTP

2004-04-20 Thread Eric Creese
Ok I hae a bunch of mail sitting in my Spool folder. I have bounced IIS and the SMTP server several times. These emails were originally in my Undelivered folder cause SMTP was not started when these emails should have been ran. I just ran an email off the server to another email acount using a form

RE: Windows Server 2003

2004-04-20 Thread Dave Koehler
Thanks Mark, that's kind of where we're headed. -Original Message- From: Mark W. Breneman [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 4:58 PM To: CF-Talk Subject: RE: Windows Server 2003 I am *guessing* that CF5 will run on W2k3 server but, I know that it will not install cor

RE: Is it a bug or not a bug?

2004-04-20 Thread Barney Boisvert
In a loosely typed language (which CF is), 20 IS true.  There is NO DIFFERENCE. The implementation (which happens in java, a strongly typed langauge) has to deal with the actual type of variables, by CF has no concept of boolean vs. integer.  This is a trait of loosely typed languages. Personally

RE: Windows Server 2003

2004-04-20 Thread Mark W. Breneman
I am *guessing* that CF5 will run on W2k3 server but, I know that it will not install correctly and register the ISAPIs for .cfm in IIS 6. I would highly advise upgrading to CFMX 6.1 if CF5 is not officially supported on W2k3 server, if this is a production server.   Mark W. Breneman -Cold Fusion

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>The cast is implicit, so it only happens for the evaluation. Where does this rule come from? This could be true for a cast, but it is not even a cast in the occurrence: it is a forced conversion. Don't forget: a cast is performed during compile, a conversion during execution. Here the problem is

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>> but I would hypothesize that the casting is done to the operand Actually, this is not really casting here. Casting was introduced in the C language. It means changing the type of a variable, in order to make types compatible or as expected, but it DOES not convert the content of the variable. Y

Re: Windows Server 2003

2004-04-20 Thread Adrocknaphobia
Is CF5 even supported on Win2k3? I would imagine it's not since it didnt exist when CF5 was out. -adam > -Original Message- > From: David Koehler [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 20, 2004 09:37 PM > To: 'CF-Talk' > Subject: Windows Server 2003 > > Ok, our old Dell server

Re: CFMX for sale

2004-04-20 Thread Adrocknaphobia
NFR = not for _resale_ if it wasn't sold to begin with then its not being _resold_ (are you saying you've never had an illegal copy of any software?... ever?) -adam > -Original Message- > From: Matt Robertson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 20, 2004 09:10 PM > To: 'CF-T

Windows Server 2003

2004-04-20 Thread David Koehler
Ok, our old Dell server needs replacing so we bought a new beast with Windows Server 2003. I installed our CF Server 4.5.1 and then the CF 5 Server update, which had problems finishing. Are there some compatibility issues? Is CF 6.2 something I can download and use instead. Any help is appreciated.

Re: Is it a bug or not a bug?

2004-04-20 Thread Bryan F. Hogan
Agreed but it returns 20 and not true. Dave Carabetta wrote: > However, to Johnny Le's original question (at least, as I understood it), > the fact that it evaluates to a true condition (even if it's 20) is *not* a > bug. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe]

RE: CFMX for sale

2004-04-20 Thread Paul Kenney
Not only does it have a lot of money, but it doesn't have as many nuns as it would like.  Can we say "Supply and Demand"? Paul Kenney [EMAIL PROTECTED] 916-212-4359 > -Original Message- > From: Matt Robertson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 20, 2004 2:11 PM > To: CF-Talk

RE: CFMX for sale

2004-04-20 Thread Matt Robertson
If its OK to violate the license agreement and sell a NFR copy, while we're at it lets hijack that busload of nuns and ransom them off.  The church has plenty of money, right?  Nobody gets hurt; well, really. I mean, if you can rationalize away a little illegality, why not rationalize away somethi

RE: Is it a bug or not a bug?

2004-04-20 Thread Barney Boisvert
> Right, the evaluation of true OR true is shortcircuited, but > AFTER the operator has been checked. The operator is boolean, > then the last value evaluated must be converted to a boolean > before it is returned. Not quite.  The cast is implicit, so it only happens for the evaluation. The val

ANNOUNCE: CFUN-04 interviews 9 and 10 - How NOT to Fusebox by Rey Muradaz and Cool stuff by Ben Forta

2004-04-20 Thread Michael Smith
In these CFUN-04 Interview, Rey Muradaz discusses his talk, which has the intriguing title: "How Not to Fusebox." and Ben Forta discusses his talk, which has the title: "Cool stuff that we can't discuss yet". But first some news. * Conference and training news * Ben Forta confirmed as Sun

Re: Is it a bug or not a bug?

2004-04-20 Thread Ben Doom
I'm not a Java programmer, but I would hypothesize that the casting is done to the operand, but within the "and" operator.  Therefore it is transparent to the user. --Ben Doom Claude Schneegans wrote: >  >>you cast as late as possible > > Exact, but whenever you cast, you cast to the type inp

Site being blocked for content

2004-04-20 Thread Andy Ousterhout
Somehow, our site, which only sells cookies, no nudity or profanity,  is being blocked by at least one school system for content. Does anyone have a list of service providers that provide blocking services? I'd really like to find out who is blocking us and get us off of that list! Andy Ousterhou

Re: Is it a bug or not a bug?

2004-04-20 Thread Jerry Johnson
Darn. I thought I had it. Thanks for correcting that one. Jerry Johnson >>> [EMAIL PROTECTED] 04/20/04 04:44PM >>> > It looks like the operator decides the type for the result for > everything except the AND operator. > > Even OR works as you say it should. > > #1 + true#    2 > #true + 1#   

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>Try >>#1 or true# >>That should return 1, not true. No, the operator is boolean, it then should return true. >>Someone pointed out that the value returned is the last value evaluated.   In (true or 1) that is true, since it's shortcircuited. Right, the evaluation of true OR true is shortcircu

OT: Fireworks MX/data-driven graphics

2004-04-20 Thread Scott Mulholland
I inherited a project today in which someone that used to work here created a batch of images using the Fireworks MX data driven graphics wizard and some xml generated using cold fusion. I was wondering if anyone knew if it was at all possible to call the functionality of that wizard via command

Re: CFMX for sale

2004-04-20 Thread Jeff Garza
I've spoken to her, and I hope that she doesn't mind me posting this here...  She did not get it via the usergroup.  The software is a full commercial version, so she can sell it if she wants.  Let's lay this to rest unless you are interested in purchasing the software. Cheers, Jeff Garza Manager

Re: CFMX for sale

2004-04-20 Thread Bryan Stevenson
ROFLMFAO ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com

Re: CFMX for sale

2004-04-20 Thread Bryan Stevenson
Yes Susan...by all means sell it if it didn't come from a user group raffle. If it did you just hurt poor Amy and Ed that are constantly defending user groups to MM...it's an uphill battle and abuse of NFR copies of software will just result in user groups raffling pens instead of software ;-) Ju

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>you cast as late as possible Exact, but whenever you cast, you cast to the type inplied by the operator, or the type expected by a function in a parameter. You NEVER cast the operator to fit one of the operands, which apparently was done here. -- ___ See some

RE: CFMX for sale

2004-04-20 Thread Samuel R. Neff
I think that would be even worse since it's almost like the UG is selling what it received from MM for free as a promotional item, just not directly. If you want to sell it, great, go sell it on ebay where nobody knows where you got it and MM isn't paying as much attention (or are they?).  I agree

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>why would you use 5*4 in an _expression_? I suppose the _expression_ was simplified for the sake of the demonstration, from a more complicated algorithm. -- ___ See some cool custom tags here: http://www.contentbox.com/claude/customtags/tagstore.cfm Please se

Re: Is it a bug or not a bug?

2004-04-20 Thread Johnny Le
This is mentioned on page 14 of Ben Forta's certified Macromedia ColdFusion MX Developer Study Guide. He said: _expression_ may be used with CFML tags as well as in output, so this is valid: as is #var2-var1# This is not the intersting part of CFMX.  This is: You can embed CFML comments in begi

Re: Is it a bug or not a bug?

2004-04-20 Thread Dave Carabetta
> >>> [EMAIL PROTECTED] 04/20/04 03:55PM >>> > > >Interesting. I would have guessed that both sets would have returned the > >same exact results. That, to me, is indeed a bug. > >Dave, > >Could you explain why you are sure this is a bug, and not just an >unexpected casting issue? Actually, it's n

Re: CFMX for sale

2004-04-20 Thread Paul Giesenhagen
Adam, I agree with your comments completely! Paul Giesenhagen QuillDesign   - Original Message -   From: Adrocknaphobia   To: CF-Talk   Sent: Tuesday, April 20, 2004 3:39 PM   Subject: Re: CFMX for sale   Susan,   You should sell your copy guilt free. It's your copy and yours al

Re: Is it a bug or not a bug?

2004-04-20 Thread Ben Doom
> It looks like the operator decides the type for the result for > everything except the AND operator. > > Even OR works as you say it should. > > #1 + true#    2 > #true + 1#    2 > #1 and true#   true > #true and 1#   1 > #true or 1#   true > #true + true#  2 > #true + false#   1 > #true & "a"

RE: CFMX for sale

2004-04-20 Thread Nathan C. Smith
The ring cannot be used for good. -Original Message- From: Paul Kenney [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 3:34 PM To: CF-Talk Subject: RE: CFMX for sale What if the money went back to the User Group for fun events or paid speakers? Paul Kenney [EMAIL PROTECTED] 916-

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>If you want a boolean value returned, you can use yesNoForamt() Well, the purpose of the yesNo() function is to convert a boolean value to a text representation, not to convert an integer which should have been a bolean in the first place. A _expression_ with two operands and one boolean operato

Re: CFMX for sale

2004-04-20 Thread Bryan Stevenson
Although nice I'm pretty sure it would still be illegal..."Not for Resale" right on all the software that has passed through my group ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] -

Re: CFMX for sale

2004-04-20 Thread Adrocknaphobia
Susan, You should sell your copy guilt free. It's your copy and yours alone, what you do with it is your business. No, I'm not intrested in buying it. It's just no one else's bizness what you do with it. I think it's commendable that you offered through this list to developers who will use it

RE: Is it a bug or not a bug?

2004-04-20 Thread Jerry Johnson
You all have convinced me. It looks like the operator decides the type for the result for everything except the AND operator. Even OR works as you say it should. #1 + true#    2 #true + 1#    2 #1 and true#   true #true and 1#   1 #true or 1#   true #true + true#  2 #true + false#   1 #true & "a

RE: CFMX for sale

2004-04-20 Thread Paul Kenney
What if the money went back to the User Group for fun events or paid speakers? Paul Kenney [EMAIL PROTECTED] 916-212-4359 > -Original Message- > From: Bryan Stevenson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 20, 2004 11:24 AM > To: CF-Talk > Subject: Re: CFMX for sale > > > I seco

Re: Is it a bug or not a bug?

2004-04-20 Thread Ben Doom
I disagree.  Whether I would consider it a bug or not depends on when things are expected get cast.  Typically, in a loosely-typed language, you cast as late as possible, and avoid it whenever you can. In this case, the language is avoiding implicit casting, which is (IMHO) a good thing.  Espec

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>You are anding a boolean and an integer, and getting an integer out. This IS the bug, a loosely interpretor should always convert operands to fit the operator, not the contrary. If you are anding a boolean and an integer, the and is a boolean operator, the boolean is ok, the integer is the alien

RE: Is it a bug or not a bug?

2004-04-20 Thread Mark W. Breneman
I am curious on how one would go about using this in "real life". If you're looking for a boolean result then why would you use 5*4 in an _expression_? Mark W. Breneman -Cold Fusion Developer -Network Administrator   Vivid Media   [EMAIL PROTECTED]   www.vividmedia.com   608.270.9770   _  

RE: Is it a bug or not a bug?

2004-04-20 Thread Barney Boisvert
I get two true values followed by two false values for both blocks.  The specific true and false values are varied, but they are still equivalent. This block is as well: #1 and 100# #false or 10# #false or 0# #0 and false# If you want a boolean value returned, you can use yesNoForamt(), though

RE: Is it a bug or not a bug?

2004-04-20 Thread Paul Kenney
In general, boolean expressions should return boolean values (yes,no,true,false).  This is a bug. Paul Kenney [EMAIL PROTECTED] 916-212-4359 > -Original Message- > From: Samuel R. Neff [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 20, 2004 1:20 PM > To: CF-Talk > Subject: RE: Is it a b

Re: Is it a bug or not a bug?

2004-04-20 Thread Ben Doom
Claude Schneegans wrote: >  >>20 *is* true. > > A little precison: 20 EVALUATES to true when it is converted, but 20 is > 20 and true is true. Point taken.  Definately important if you ever compare things to "true". --Ben Doom [Todays Threads] [This Message] [Subscription] [Fast Unsubsc

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>it'll return the last value evaluated in the _expression_. This IS the bug: it should return the type implied by the operator in the _expression_. in true and 4*5, CF has a boolean and a boolean operator, It thus has to evaluate 4*5, THEN convert it to a boolean in order to complete the boolean

Re: Looping query help

2004-04-20 Thread Doug James
Off the top of my head, I would suggest using . Doug Austin Govella wrote: >I have a listing of classes, each with a text box next to >them. Users will fill in a number in the text box next to >each class and then hit submit. > >I'm trying to loop through the results and INSERT a >class_id, s

Re: Looping query help

2004-04-20 Thread Ben Doom
If class_enrollment is an int (or similar), you could be getting an error because of the wrapping single quotes. And before someone else says it, cfsqlparam is a good thing. --Ben Doom Austin Govella wrote: > I have a listing of classes, each with a text box next to > them. Users will fill in

RE: Is it a bug or not a bug?

2004-04-20 Thread Samuel R. Neff
"and" is a boolean operator.  I would expect the result to always be a boolean. In my opinion, it's a bug. Sam Blog http://www.rewindlife.com TeamMM http://www.macromedia.com/go/team > -Original Message-

Re: Is it a bug or not a bug?

2004-04-20 Thread Johnny Le
If you are asking whether it is true or false, then it is true.  But if you ask what is value of that _expression_, then it is 20.  I think that is two different questions.  So you get two different answers. Johnny >Run this: > >truefalse >truefalse >truefalse >truefalse > >#true and (4*5)# >#(4*

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>This is not a bug, it's just part of using a loosely typed language. Well... your right that it is part of using a loosely typed language, this implies that the language has to convert automatcally variables and expressions in order to perform a statement, but when the laguage converts to the wr

Re: Is it a bug or not a bug?

2004-04-20 Thread Jerry Johnson
>>> [EMAIL PROTECTED] 04/20/04 03:55PM >>> >Interesting. I would have guessed that both sets would have returned the >same exact results. That, to me, is indeed a bug. Dave, Could you explain why you are sure this is a bug, and not just an unexpected casting issue? Why should #1 and 20# automa

Looping query help

2004-04-20 Thread Austin Govella
I have a listing of classes, each with a text box next to them. Users will fill in a number in the text box next to each class and then hit submit. I'm trying to loop through the results and INSERT a class_id, section number, enrollment number, and date for each class. I use the following cod

Re: Is it a bug or not a bug?

2004-04-20 Thread Claude Schneegans
>>20 *is* true. A little precison: 20 EVALUATES to true when it is converted, but 20 is 20 and true is true. -- ___ See some cool custom tags here: http://www.contentbox.com/claude/customtags/tagstore.cfm Please send any spam to this address: [EMAIL PROTECTED]

Re: Help! disappearing datasources

2004-04-20 Thread Larry Lyons
>For what it's worth, your site (atcc.org) is coming up with this error >right now: Thanks for trying Bret, we were able to correct the problem by doing a restore from a backup. thx again, larry [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: RE: Is it a bug or not a bug?

2004-04-20 Thread Kwang Suh
It wouldn't surprise me if it disappeared again in a future version. It used to be in CF3.x, and was removed in CF4.x. Sure is handy though. - Original Message - From: "Mark W. Breneman" <[EMAIL PROTECTED]> Date: Tuesday, April 20, 2004 1:46 pm Subject: RE: Is it a bug or not a bug? > I

Re: Is it a bug or not a bug?

2004-04-20 Thread Dave Carabetta
> >Run this: > >truefalse >truefalse >truefalse >truefalse > >#true and (4*5)# >#(4*5) and true# >#false and (4*5)# >#(4*5) and false# > I get: true true false false 20 true false false Interesting. I would have guessed that both sets would have returned the same exact results. That, to me, is

Re: Help! disappearing datasources

2004-04-20 Thread bret
For what it's worth, your site (atcc.org) is coming up with this error right now: Error Diagnostic Information An error occurred while attempting to establish a connection to the server. The most likely cause of this problem is that the server is not currently running. Verify that the server is

Re: Is it a bug or not a bug?

2004-04-20 Thread Bryan F. Hogan
I don't know, I could be wrong on it being supported. But I deff have not heard of it not being supported. It does seem to be broken in this case though. I don't know what you would call it. Output Expressioning? ;-) Mark W. Breneman wrote: > I thought I had seen someone on this list, when MX

Re: Is it a bug or not a bug?

2004-04-20 Thread Dave Carabetta
> >>#(true and 4*5)# returns 20. > >>#(false and 4*5)# returns false. > >>#(4*5 and false)# returns false. > >>#(4*5 and true)# returns true. > >> > >>Is it a bug or it is using some sort of _expression_ evaluation that I am >not > >>aware of. > >> > > > >CF uses short-circuit boolean evaluation.

RE: Is it a bug or not a bug?

2004-04-20 Thread Mark W. Breneman
I thought I had seen someone on this list, when MX came out, warning everyone to not use it due to it broke a convention (or something like that) and it may not be supported in the future versions due to MM did not officially acknowledge it as a feature.  So thus I tried to not use it, but I did fi

Re: Is it a bug or not a bug?

2004-04-20 Thread Bryan F. Hogan
Run this: truefalse truefalse truefalse truefalse #true and (4*5)# #(4*5) and true# #false and (4*5)# #(4*5) and false# Barney Boisvert wrote: > This is not a bug, it's just part of using a loosely typed language. > Non-zero values are true, and zero is false.  A short-circuited boolean > evalu

RE: Is it a bug or not a bug?

2004-04-20 Thread Dave Carabetta
>Does MM officially support performing mathematical calculations between # >signs? I was sorta under the impression that this was considered not a good >practice. Regardless it is handy. > As of CFMX you can. Good or bad practice is your call though. Regards, Dave. [Todays Threads] [This Messa

Re: Is it a bug or not a bug?

2004-04-20 Thread Johnny Le
Yes, this is fully functioning in CFMX, but I believe not in previous versions. Johnny >Does MM officially support performing mathematical calculations between # >signs? I was sorta under the impression that this was considered not a good >practice. Regardless it is handy. > > > >Mark W. Brenema

Help! disappearing datasources

2004-04-20 Thread Larry Lyons
Greetings, Have a problem with our current CF5 server on a unix box. All of our data sources have disappeared. I have no idea why. Nothing has been changed on the server for the last while. Moreover, when I try to add a datasource again, the Admin app says that the datasource is already there. An

RE: Is it a bug or not a bug?

2004-04-20 Thread Barney Boisvert
This is not a bug, it's just part of using a loosely typed language. Non-zero values are true, and zero is false.  A short-circuited boolean evaluation returns the value of the last _expression_ that is evaluated. Note, that whether the first test returns 'true' or '20', both are true values, so i

Re: Is it a bug or not a bug?

2004-04-20 Thread Bryan F. Hogan
Yes I'm sure they do. I don't know about good or bad, I really haven't thought about it. It does work. Mark W. Breneman wrote: > Does MM officially support performing mathematical calculations between # > signs? I was sorta under the impression that this was considered not a good > practice. Reg

Re: Is it a bug or not a bug?

2004-04-20 Thread Ben Doom
>  >>#(true and 4*5)# returns 20. >  >>#(false and 4*5)# returns false. >  >>#(4*5 and false)# returns false. >  >>#(4*5 and true)# returns true. >  >> >  >>Is it a bug or it is using some sort of _expression_ evaluation that I > am not >  >>aware of. >  >> >  > >  >CF uses short-circuit boolean e

Re: Softball/Baseball db app? (Maybe OT)

2004-04-20 Thread Cedric Villat
Chris, I actually just finished doing something like this. It allows for different divisions (age groups) and then teams in every division. You can create divisions, teams, and then create games for those teams. You can re-schedule games, have field information, etc. It will also calculate standin

Re: Http to https redirect

2004-04-20 Thread Jim McAtee
- Original Message - From: "Westin, Ken" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, April 19, 2004 5:14 PM Subject: Http to https redirect > > OK so I have an application which I only want people to connect to using > SSL, so I want to have it so that if anyone co

RE: Is it a bug or not a bug?

2004-04-20 Thread Douglas.Knudsen
IIRC, this is new in CFMX. Doug -Original Message- From: Mark W. Breneman [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 3:15 PM To: CF-Talk Subject: RE: Is it a bug or not a bug? Does MM officially support performing mathematical calculations between # signs? I was sorta unde

Re: CF-Talk: Digest every hour

2004-04-20 Thread Cedric Villat
Chris, I actually just finished doing something like this. It allows for different divisions (age groups) and then teams in every division. You can create divisions, teams, and then create games for those teams. You can re-schedule games, have field information, etc. It will also calculate standin

Re: Is it a bug or not a bug?

2004-04-20 Thread Johnny Le
>>#(true and 4*5)# returns 20. >>#(false and 4*5)# returns false. >>#(4*5 and false)# returns false. >>#(4*5 and true)# returns true. >> >>Is it a bug or it is using some sort of _expression_ evaluation that I am not >>aware of. >> > >CF uses short-circuit boolean evaluation. So it'll either stop

RE: Is it a bug or not a bug?

2004-04-20 Thread Mark W. Breneman
Does MM officially support performing mathematical calculations between # signs? I was sorta under the impression that this was considered not a good practice. Regardless it is handy. Mark W. Breneman -Cold Fusion Developer -Network Administrator   Vivid Media   [EMAIL PROTECTED]   www.vividmedia.

Re: Is it a bug or not a bug?

2004-04-20 Thread Bryan F. Hogan
Yes it's a bug, I have submitted it. Use #((4*5) and true)# until it get's fixed. Johnny Le wrote: > #(true and 4*5)# returns 20. > #(false and 4*5)# returns false. > #(4*5 and false)# returns false. > #(4*5 and true)# returns true. > > Is it a bug or it is using some sort of _expression_ evalu

RE: Is it a bug or not a bug?

2004-04-20 Thread Tony Weeg
true = 1 = yes false = 0 = no afair -Original Message- From: Johnny Le [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 2:59 PM To: CF-Talk Subject: Is it a bug or not a bug? #(true and 4*5)# returns 20. #(false and 4*5)# returns false. #(4*5 and false)# returns false. #(4*5 and

RE: Is it a bug or not a bug?

2004-04-20 Thread Dave Carabetta
>#(true and 4*5)# returns 20. >#(false and 4*5)# returns false. >#(4*5 and false)# returns false. >#(4*5 and true)# returns true. > >Is it a bug or it is using some sort of _expression_ evaluation that I am not >aware of. > CF uses short-circuit boolean evaluation. So it'll either stop the moment

  1   2   >