Prev: Problem with ReprtPro 2.14d
Next: catching a com event
From: Darmadi on 22 Feb 2010 22:03 Hi to all, I have test something: ? Evaluate("LTrim(' ABCDE ')") // Return ABCDE ? Evaluate("Trim(' ABCDE ')") // Return ABCDE ? Evaluate("RTrim(' ABCDE ')") // Return NIL Why using RTrim in Macro Compiler would result a NIL ? Regards, Darmadi
From: Stephen Quinn on 22 Feb 2010 23:25 Darmadi Check the help on the 'Trim' family - thay may not ALL be usable with the macro compiler. Most strongly typed functions aren't usable with the macro compiler. The help (VO25) lists those that are - I'll leave you to find the list<bg> CYA Steve
From: Meinhard Schnoor-Matriciani on 23 Feb 2010 03:35 Darmadi, as Steven said, strong type function usually can't be used from codeblocks. There are a few exceptions, here's my list of function which can be used from codeblocks : ABS MIN MAX ROUND LOG EXP SQRT VAL STR TRIM LTRIM UPPER LOWER CHR SPACE REPLIC ASC AT AADD SUBSTR LEN YEAR DAY MONTH DOW CTOD DTOS LEFT RIGHT EVAL SOUNDE TODAY DESCEN ALLTRI BIN2I BIN2L BIN2W EMPTY HARDCR I2BIN L2BIN ISALPH ISDIGI ISUPPE ISLOWE RAT SECOND TIME STUFF TONE TYPE VALTYP IIF DTOC ConDat STOD Regards Meinhard
From: Karl Faller on 23 Feb 2010 07:24 On Tue, 23 Feb 2010 04:25:15 GMT, "Stephen Quinn" <stevejqNO(a)bigpondSPAM.net.au> wrote: >Most strongly typed functions aren't usable with the macro compiler. but you may create a untyped wrapper func that will work... Karl
|
Pages: 1 Prev: Problem with ReprtPro 2.14d Next: catching a com event |