Here is the statement::
i thought of doing progn but that doesnt represent the right condoitionals...and thought of cond but that will not eval the same way as a if, eleif, else statement...any help is appreciated..
if( frameCount < 30 ){
accumulateBackground( frame );
}else if( frameCount == 30 ){
createModelsfromStats();
}else{
backgroundDiff( frame, mask1 );
i tried this:
(if (< frame-count 30) (accumulate-background frame)
(if (equal frame-count 30) (create-models-from-stats))
(background-diff frame mask-1))
but i get an invalid number of elements error:i thought of doing progn but that doesnt represent the right condoitionals...and thought of cond but that will not eval the same way as a if, eleif, else statement...any help is appreciated..
Last edited by nuntius on , edited 1 time in total. Reason: added [code] tags