The CF query start row starts with 1 not 0
-Original Message-
From: Tom Sammons [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 5:09 PM
To: CF-Talk
Subject: CFQUERY and STARTROW=0 (??!)
Hi all,
I was looking up some stuff on joins versus unions, and came across an
opinion
He's an idiot. The first row is 1.
CF counts everything from 1. Note arrays in CF start at 1, while in most
other languages I've encountered, they start at 0.
I was looking up some stuff on joins versus unions, and came across an
opinion that used CFQUERY as an example. (I won't post the url
He's wrong. And computers don't start at 0. It's up to the
compiler/interpreter to decide what the first index is. In Cold Fusion, the
first index is always 1.
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
3 matches
Mail list logo