Object procedure called as function

This forum is intended for cases when a problem can not be solved due to restrictions of the platform: a bug or lack of functionality.

#1
People who like this:0Yes/0No
Active user
Rating: 4
Joined: Sep 1, 2014
Company: Smart ID Dynamics

8.3.6.2100

I have a MAP object.

When i try to call MAP Clear() method i receive the following error Object procedure called as function (Clear).

Code
Map.Clear();

 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Marius Gidu!

Are you sure that you have no equal sign or Return clause before the script that you provided?

 
#3
People who like this:0Yes/0No
Active user
Rating: 4
Joined: Sep 1, 2014
Company: Smart ID Dynamics

I am sure.

 
#4
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

I was just trying to reproduce this issue on 1C:Enterprise 8.3.6.2100 by adding the following code into the managed application module:

Code
Procedure BeforeStart(Cancel)
   Map = New Map;
   Map.Clear();
EndProcedure

The configuration dump attached to this message. Please, use it as a template to provide an example where I could reproduce the issue.

Download 1Cv8.cf (5.31 KB)
 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.