RLB3.COM

Aut disce aut discede

Day three..

Posted by rlb3 Wed, 01 Mar 2006 14:58:00 GMT

Its day three, and I’m bored. We have barly written any code. I hope today we get more in-depth. Also so of the language constucts the choose for there database library is strange. For example:

// Traverse the items in startqueue to find items older than removeDays
    if (FetchRecord("DB_GTE", "Q_ISTAT_DB_QID_QSTIME_IDX", searchItem, resultItem))
    {
        do
        {
            if (resultItem.CurrentQID != searchItem.CurrentQID)
            {
                break;
            }

            if (resultItem.QStartTime <= checkDate)
            {
                // if item is to be deleted, then push it onto an array of items to delete
                itemsToDeleteArray.push(resultItem.ItemID);
            }
            else
            {
                // if item is too new to delete, then stop looping
                break;
            }
        } while (NextRecord("Q_ISTAT_DB_QID_QSTIME_IDX", resultItem, errbuf));
    }

What is the deal with the two database calls. Just seems wierd.

no comments |

I have met the enemy, and it is this class.

Posted by rlb3 Tue, 28 Feb 2006 16:35:00 GMT

I hoped that this class would have more information on the fundamentals of iScript/Javascript. Thats not the way this class is going to work. We jumped right in on the imagenow objects. I guess I should have expected this.

Posted in | no comments |

Day 2.0 at ImageNow

Posted by rlb3 Tue, 28 Feb 2006 14:49:00 GMT

Ok, today we start scripting. At least that what the agenda says. We get the “What is iScript?” talk, and then our first script: Route based on Doc Type. Sounds like fun, maybe. I guess we will see…

Posted in | no comments |