Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange compiler error
Message
From
21/11/2006 12:02:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/11/2006 11:57:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01171446
Message ID:
01171492
Views:
6
>>>>>Here is a code that generates a compiler error:
>>>>>"Unable to find Visual class library ERROR"
>>>>>NEWOBJECT('frmMessageBox', 'base.vcx', '', ThisForm, ;
>>>>>'This barcode is not recognized as a User ID. ' + CHR(13) + ;
>>>>>'Click OK if you want to scan the ID again', 'Error', 2)
>>>>>
>>>>>If I remove CHR(13) then it compiles without the error. What am I missing?
>>>>>
>>>>>Thanks
>>>>
>>>>Mark,
>>>>I believe error is not in this line but happens due to something in frmMessageBox.init code (or on error routine etc).
>>>>Cetin
>>>But it happens at the compiling.
>>
>>A compiler error. Oh then in sequence there is a need for that class then. It doesn't show that this line is faulty. I insist that this line is legal and can create a demonstration code (pjx,exe etc) if needed.
>>Cetin
>Well, replacing CHR(13) with anything else works fine.

Sounds like I'll spend some time on it when I have time:) Hard to convince me:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform