Question to Methods

Claudius Sailer Claudius at sailer-online.de
Tue Feb 24 06:42:57 CST 2004


Hi,

Am 23. Feb 2004 um 21:26 Uhr schrieb Ruslan Zasukhin:

>> is this possible to rebuild with a method?
>
> Formula should be something as
>
>     if(QuotationMode=1, Lastprice/QuotationUnit, 
> 1/(LastPrice/QuotationUnit)

I can't find in docu an example for Class definition, so I tried this

NValue=new VFloat("NValue",kV_IsMethod("if(QuotationMode=1, 
LastValue/QuotationUnit, 1/(LastValue/QuotationUnit)"))

but got an error (Syntax Error) where can I find an example or whats 
the right coding?

Thanks for help


Claudius

-- 
G4/733 QS / MacOS X 10.3.2de / RB 4.5.3de or 5.2.4/ Valentina 1.10.0
Homepage    http://www.sailer-online.de/pub/RealBasic/
Download    finale Versionen, Betaversionen auf der Homepage



More information about the Valentina mailing list