Day three..
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.
I have met the enemy, and it is this class.
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 ImageNow | no comments |
Day 2.0 at ImageNow
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 ImageNow | no comments |
