syntax error that shouldn't be

Fairlight fairlite at fairlite.com
Thu Mar 13 17:23:59 PDT 2014


Take this:

Then: declare MyTest(40,*)
Then: MyTest="Small String"
Then: msgbox "orig len:"<len(MyTest)
Then: msgbox "new len:"<len(""{MyTest{"")

Syntax check coughs at the first quote in "" in the pushleft inside len().
This is perfectly valid syntax...or should be. len() is documented as
taking an expression, not simply a field or variable name.

5.0.14R4

mark->
-- 
Fairlight Consulting
http://www.fairlite.com
fairlite at fairlite.com
(502) 509-3840


More information about the Filepro-list mailing list