Optional,class,Dim Canvas

netbee

New Member
1.Optional parameter in the subroutine?
2.Does not support the structure and class?
3.In the 'code module' can not define global variables, 'Dim DrawView As Canvas' in the 'Sub Process_Globals'
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Structures are supported with the Type keyword.

There are certain types of objects that can only be declared inside an activity (activity objects). This is related to the special way Android handles the activities.

For some reason you appear as an unlicensed user in the forum. Please contact support@basic4ppc.com in order to fix it.
 

adamioan

Member
Licensed User
Longtime User
Hi there,
I think the optional parameter is a good point.
Please consider Erel.

Thank you in advance
 

qsrtech

Active Member
Licensed User
Longtime User
Optional Paramters

Yes, optional parameters pls, or at least be able to use callsub w/o having to supplying any parameters.
 
Top