Type/to search
6
Follow
0
Followers
টেমপ্লেট ফাংশন ত্রুটি
Help
Created 2021-06-04 15:23:15  
 4
 1089

আমি এই টেমপ্লেটটি পরীক্ষা করেছিঃ
def SetParam1(p1):
global param1
param1 = p1

def GetParam1():
Log("param1:", param1)
return param1

ext.SetParam1 = SetParam1
ext.GetParam1 = GetParam1

ফলাফলঃ

Traceback (most recent call last): File "<string>", line 1606, in Run File "<string>", line 10, in <module> File "<string>", line 2, in main AttributeError: 'i1Iii1i1I' object has no attribute 'GetParam1'

প্রশ্নঃ এটা কেন হচ্ছে?

Related Recommendations
Comment
All comments (4)

    你上面都没有main函数呀,怎么报错在main函数。

    5 years ago

    好的

    5 years ago

    检查是不是,引用这个模板的策略,没有勾选这个模板选项。

    5 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)