null - was Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-10 Thread S . Isaac Dealey
Just a small thought. All I personally think that CF could benefit from in all of this strong typing discussion is the ability to cast a variable to any java class. I feel that if I could JavaCast() to any java class in order to create byte arrays or other specific types I would have

Re: null - was Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-10 Thread Dick Applebaum
On Jul 10, 2004, at 6:23 AM, S. Isaac Dealey wrote: Personally I think the lack of nulls in CF is far more troublesome than the lack of strong-typing and if I had to prioritize them, nulls would be way up near the top of my list, while stong typing would be way down toward the bottom. I've

Re: null - was Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-10 Thread S . Isaac Dealey
This is one of those annoying things (like alphabetically sorted query ciomumnList) that you wonder why they just don't fix it. columnlist doesn't so much bother me... listsort(query.columnlist) ... what does still bother me is structsort()... the reason it annoys me is because it creates an

RE: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Dave Watts
Done right, CF doesn't need to give up anything to provide optional support for strong typing any more than they had to sacrifice anything to give us CFCs. How do you know this? We can all speculate on how easy or difficult something would be, but I find it hard to reach this sort of

Re: CFX_FileReadLn

2004-07-09 Thread Doug Hughes
The way I test for null in CF is to knowingly assign a value from Java into a CF variable. On the next line, if the variable is undefined then we recieved a NULL value.If it's defined, then we didn't. Doug On Wed, 7 Jul 2004 11:46:01 -0400, Joe Rinehart [EMAIL PROTECTED] wrote: Dick, Glad

RE: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Samuel Neff
run into problems). Best regards, Sam -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 8:54 AM To: CF-Talk Subject: RE: Blackstone Strong Typing? was Re: CFX_FileReadLn Done right, CF doesn't need to give up anything to provide optional

RE: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Dave Watts
You don't need access to the CFML source code to see how strong typing can benefit CF and how it can be implemented-- only need to look at the Java files generated by CFMX. If you look at these files you'll see how all variable references go through a complex set of Hashtable lookups,

RE: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Jim Davis
My impression from some of the people on the CF Development team is that this would be a nightmare to develop while maintaining backwards compatibility.Making the whole language typed, period, would be somewhat easier - but only in a sense, as you would really just be ripping out the massive

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Dick Applebaum
On Jul 9, 2004, at 5:54 AM, Dave Watts wrote: Done right, CF doesn't need to give up anything to provide optional support for strong typing any more than they had to sacrifice anything to give us CFCs. How do you know this? We can all speculate on how easy or difficult something would be,

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Dick Applebaum
On Jul 8, 2004, at 9:09 PM, S. Isaac Dealey wrote:   I have my doubts. The closer CF comes to pure Java, the   more people   will ask why bother when there's Java. In order to   stay alive in the   market (as with any market) CF has to provide something   significant to   the customer which they

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Dick Applebaum
On Jul 9, 2004, at 9:39 AM, Jim Davis wrote: My impression from some of the people on the CF Development team is that this would be a nightmare to develop while maintaining backwards compatibility.  Making the whole language typed, period, would be somewhat easier - but only in a sense, as

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Dick Applebaum
On Jul 9, 2004, at 7:35 AM, Samuel Neff wrote: You don't need access to the CFML source code to see how strong typing can benefit CF and how it can be implemented--only need to look at the Java files generated by CFMX. How do you do that with CFMX 6.1 -- all I can get is the class files TIA

RE: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Samuel Neff
- From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 2:28 PM To: CF-Talk Subject: Re: Blackstone Strong Typing? was Re: CFX_FileReadLn On Jul 9, 2004, at 7:35 AM, Samuel Neff wrote: You don't need access to the CFML source code to see how strong typing can benefit CF

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Nathan Strutz
. Sam -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 2:28 PM To: CF-Talk Subject: Re: Blackstone Strong Typing? was Re: CFX_FileReadLn On Jul 9, 2004, at 7:35 AM, Samuel Neff wrote: You don't need access to the CFML source code

RE: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Douglas.Knudsen
PROTECTED] Sent: Friday, July 09, 2004 3:01 PM To: CF-Talk Subject: RE: Blackstone Strong Typing? was Re: CFX_FileReadLn With 6.1 you have to decompile the generated class files.There are lots of tools to do that.Google. It's your code, so I'm pretty sure there are no legal issues.Besides, it's a good

RE: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Dave Watts
The script page generated a 51 line java file, 2 imports, and actually quite easy to read along to. The tags page generated an 89 line .java file, 5 imports, fairly difficult to read, but I noticed it kept mentioning whitespace chars, even though whitespace management was off. Well,

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Dick Applebaum
On Jul 9, 2004, at 12:00 PM, Samuel Neff wrote: With 6.1 you have to decompile the generated class files.  There are lots of tools to do that.  Google. Ahh... I was hopin' ya' knew of some way to get CF to gen source, like it did in 6.0. I wonder if there is an under-the-covers option to

RE: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Barney Boisvert
: Blackstone Strong Typing? was Re: CFX_FileReadLn On Jul 9, 2004, at 12:00 PM, Samuel Neff wrote: With 6.1 you have to decompile the generated class files.   There are lots of tools to do that.  Google. Ahh... I was hopin' ya' knew of some way to get CF to gen source, like it did in 6.0

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Damien McKenna
On Jul 9, 2004, at 5:47 PM, Barney Boisvert wrote: In 6.1, it converts CFML directly to bytecode, bypassing Java completely.This is significantly faster, as evidenced by the lack of a first-view delay. Yeah, I definitely noticed this when we upgraded last week to 6.1 - it screams! --

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Claude Schneegans
1) all typed variables could be referenced w or w/o the typed scope 2) in a block of strongly-typed code the typed scope would implied (roughly analogous to Java's import statement) 3) Then The CF parser/compiler would have a set of readily-identifiable strongly-typed variables, that it could

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Dick Applebaum
On Jul 9, 2004, at 3:12 PM, Claude Schneegans wrote: 1) all typed variables could be referenced w or w/o the typed scope 2) in a block of strongly-typed code the typed scope would implied (roughly analogous to Java's import statement) 3) Then The CF parser/compiler would have a set of

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Claude Schneegans
but I would also like to see it on a more-granular level: This would be more difficult to implement, since the status of a variable would not be proper only to the variable, but would also depend on its environment. -- ___ REUSE CODE! Use custom tags; See

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-09 Thread Dick Applebaum
On Jul 9, 2004, at 8:17 PM, Claude Schneegans wrote: but I would also like to see it on a more-granular level: This would be more difficult to implement, since the status of a variable would not be proper only to the variable, but would also depend on its environment. Yeah, I guess I'd be

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread Joe Rinehart
I like strong typing, but I think ColdFusion isn't the place for it. ColdFusion has a history of trying to maintain backward compatibility. Also, one of the tenants of CF is that it is typeless language (validation portion of cffunction and cfargument aside)so I doubt we'd ever see it.

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread Jochem van Dieten
Joe Rinehart wrote: IsNull() would be pretty handy, though!Ben Fanyone else from MACR readingcan get this on the list? http://www.macromedia.com/go/wish Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread Adrocknaphobia
I second Joe's comments. -Adam - Original Message - From: Joe Rinehart [EMAIL PROTECTED] Date: Thu, 8 Jul 2004 06:48:25 -0400 Subject: Re: Blackstone Strong Typing? was Re: CFX_FileReadLn To: CF-Talk [EMAIL PROTECTED] I like strong typing, but I think ColdFusion isn't the place

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread Dick Applebaum
On Jul 8, 2004, at 3:48 AM, Joe Rinehart wrote: I like strong typing, but I think ColdFusion isn't the place for it. I would like to se it as optional, maybe within a block of code or a CFC.In fact, a CFC is a very logical place for strong typing (and a lot of other things that would make CF

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread Matt Robertson
One of the avowed tenets of Blackstone is to go back to CF's roots -- a simple RAD tool that allows fast everyman productivity out of the box.Seems like strong typing goes in the other direction. Just an observation. -- --Matt Robertson-- MSB Designs, Inc. mysecretbase.com [Todays Threads]

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread Dick Applebaum
On Jul 8, 2004, at 10:04 AM, Matt Robertson wrote: One of the avowed tenets of Blackstone is to go back to CF's roots -- a simple RAD tool that allows fast everyman productivity out of the box.  Seems like strong typing goes in the other direction. Just an observation. Interesting... I hadn't

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread Sean Corfield
Yes and no -- each major release of CF has had compelling and valuable new features -- not to use these when needed, is a failure to exploit the tool. That doesn't really have anything to do with backward compatibility. BC is so that code from previous versions runs unchanged (or very nearly

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread Joe Eugene
PROTECTED] Sent: Thursday, July 08, 2004 2:37 PM Subject: Re: Blackstone Strong Typing? was Re: CFX_FileReadLn On Jul 8, 2004, at 10:04 AM, Matt Robertson wrote: One of the avowed tenets of Blackstone is to go back to CF's roots -- a simple RAD tool that allows fast everyman productivity out

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread S . Isaac Dealey
If I were a betting man, I would bet that CF continues to become closer to pure Java -- this would (potentially) improve performance and broaden the acceptance/use of the CF language. I have my doubts. The closer CF comes to pure Java, the more people will ask why bother when there's Java.

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread Dick Applebaum
On Jul 8, 2004, at 3:06 PM, S. Isaac Dealey wrote: If I were a betting man, I would bet that CF continues to become closer to pure Java -- this would (potentially) improve performance and broaden the acceptance/use of the CF language. I have my doubts. The closer CF comes to pure Java, the

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-08 Thread S . Isaac Dealey
On Jul 8, 2004, at 3:06 PM, S. Isaac Dealey wrote: If I were a betting man, I would bet that CF continues to become closer to pure Java -- this would (potentially) improve performance and broaden the acceptance/use of the CF language. I have my doubts. The closer CF comes to pure Java,

Re: CFX_FileReadLn

2004-07-07 Thread Dick Applebaum
If you are using CFMX, you prolly don't need a custom tag (or could make your own). I got some help from others on the list came up with the code below. Works great -- I am using to parse an very large iTunes Library.xml file. HTH Dick P.S. The fact that others were able to so easily

RE: CFX_FileReadLn

2004-07-07 Thread Paul Vernon
I wrote CFX_ReadLn, which does a similar thing to CFX_FileReadLn and is free :) http://www.web-architect.co.uk/downloads.cfm Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: CFX_FileReadLn

2004-07-07 Thread Frank Priest
Thanks Dick! but this site is on ColdFusion 4.1. Frank -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 6:44 AM To: CF-Talk Subject: Re: CFX_FileReadLn If you are using CFMX, you prolly don't need a custom tag (or could make your own). I

RE: CFX_FileReadLn

2004-07-07 Thread Frank Priest
Thanks Paul! I will give it a try:-) Frank -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 6:59 AM To: CF-Talk Subject: RE: CFX_FileReadLn I wrote CFX_ReadLn, which does a similar thing to CFX_FileReadLn and is free :) http://www.web

Re: CFX_FileReadLn

2004-07-07 Thread Joe Rinehart
Dick, Glad that code's being used - I found out the other day (from Doug Hughes, the Alagad image component guy) that the reason line becomes undefined is that CF doesn't know how to handle a Java NULL. You may have already known this, but I found it interesting. Blackstone is rumored to fix

Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-07 Thread Dick Applebaum
Yeah, I think there was some code with a more formal EOF test recommended by someone. If Blackstone has a NULL, then is it reasonable to assume that it may also have optional strong typing? -- then if that is so, couldn't one code CF in such a way that more closely approached Java --then here

RE: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-07 Thread Jim Davis
typed nature. Jim Davis From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 12:33 PM To: CF-Talk Subject: Blackstone Strong Typing? was Re: CFX_FileReadLn Yeah, I think there was some code with a more formal EOF test recommended by someone. If Blackstone has a NULL

Re: Blackstone Strong Typing? was Re: CFX_FileReadLn

2004-07-07 Thread Joe Eugene
also have optional strong typing? I STRONGLY AGREE.. This would be a really nice feature. Joe - Original Message - From: Dick Applebaum [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 12:32 PM Subject: Blackstone Strong Typing? was Re: CFX_FileReadLn

CFX_FileReadLn

2004-07-06 Thread Frank Priest
Anybody know what happened to the Author of this tag? I am trying to by a license but can't seem to find any place to pay for it:-) Thanks in advance for your time! Frank [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: A Lonely CFX - CFX_FileReadLn

2003-10-21 Thread Daniel Mackey
] Sent: Monday, October 20, 2003 10:51 To: CF-Talk Subject: A Lonely CFX - CFX_FileReadLn Hi all. We had a need to read large text files in blocks of lines and so went looking for a suitable custom tag to do the base work for us. There are a few that read CSV files and convert them to queries but our

A Lonely CFX - CFX_FileReadLn

2003-10-20 Thread Kym Kovan
one line at a time, not too good when you want to read a thousand line in one batch :-) We then found CFX_FileReadLn which is perfect, you can specify a start line and the number of lines to read and it returns the result in a query, just right for our needs :-) Unfortunately the tag

RE: A Lonely CFX - CFX_FileReadLn

2003-10-20 Thread Jim Davis
To: CF-Talk Subject: A Lonely CFX - CFX_FileReadLn Hi all. We had a need to read large text files in blocks of lines and so went looking for a suitable custom tag to do the base work for us. There are a few that read CSV files and convert them to queries but our files are pure text so they were