V4REV

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Sep 4 11:07:52 CDT 2005


On 9/2/05 5:37 PM, "Trevor DeVore" <lists at mangomultimedia.com> wrote:

>> 
>> Ok, Ivan think he know where you can get in troubles.
>> 
>> E.g. You do something that return error,
>> But script ignore that and continue -> crash
>> 
>> 
>> Right now Ivan will add protection which was in VXCMD 1.x
>> 
>>     if DebugLevel > 0 then all dbRef, tblRef, ...
>>         will be tested on validness.
>> 
>> In RELEASE of your app, DebugLevel = 0, so this code will not slow
>> down you.
> 
> Perhaps this is already mentioned in the docs.  I don't think it was
> in Valentina 1.x.
> I believe this was something that you just had to figure out.

This protection was in 1.x also

> If it isn't mentioned in the 2.x docs it needs to be in
> big bold letters.

> The developer needs to be aware that you aren't
> validating the values the external receives for speed reasons and
> that a crash will occur.

Wait. 

Ivan have add this protection for next build.

So WE DO Validate this in debug level > 0.

When you do release, you do not need this checks, because your code is
correct.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina-beta mailing list