[NEW:V4MD] Symbols handling

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Aug 13 16:59:28 CDT 2004


On 8/13/04 12:58 PM, "Igor Gomon" <giv at tlc.kherson.ua> wrote:

>> But already now we can also write:
>>     
>>     ValentinaInit("", 8 * 1024 * 1024, "", "")
>>     
>>     set err = ValentinaErrorSymbol()
>>     if( symbol(err) = #ERR_SUCCESS ) then
>>         alert("OK")
>>     end if
>> 
>> and this works.
> We can make simple workaround to make it work:
> 
> on ValErrorSymbol
>   return symbol(ValentinaErrorSymbol())
> end
> 
> on startMovie
> 
>   ValentinaInit("", 8 * 1024 * 1024, "", "")
> 
>   if ValErrorSymbol() = #ERR_SUCCESS then
>       alert("OK")
>   end if
> 
> end startMovie 

Okay, this looks better.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list