Let's assume you start with "SELECT * FROM ITEMS" like query. Now you're adding the WHERE clause. Do you keep track if you have the WHERE already present? Do you then keep track of if you need the "AND" or if it's the first entry that cannot take the "AND"?
With 1=1 you're guaranteed to have the WHERE clause and you're guaranteed to be able to use AND in your statement.
3. with luck came across \incredibox-0\incredibox_fla\MainTimeline.class.asasm lines 24827-24840
Took me longer to write this post than to figure it out, but, I am guessing I got lucky. I only decided to attempt checking this out as I started playing around with the RABCDAsm couple hours ago. I've little to no idea how to read those .asasm files yet, but I'm learning more about them.
Let's assume you start with "SELECT * FROM ITEMS" like query. Now you're adding the WHERE clause. Do you keep track if you have the WHERE already present? Do you then keep track of if you need the "AND" or if it's the first entry that cannot take the "AND"?
With 1=1 you're guaranteed to have the WHERE clause and you're guaranteed to be able to use AND in your statement.
Do you have a better way?