B4J Question Extended Function

BarryW

Active Member
Licensed User
Longtime User
Hi. How to create an extended function in b4X.
Like StringBuilder Lib that has .Append("").Append("").

I want to create a class in b4j with this and compile it to as library.

Tnx.
 

BarryW

Active Member
Licensed User
Longtime User
Tnx.

In my class i have

B4X:
sub sql1 as string
return 1
end sub

sub sql2 as string
return 2
end sub

sub sql3 as string
return 3
end sub

sub string1 as string
return "string1"
end sub

sub string2 as string
return "string2"
end sub

sub string3 as string
return "string3"
end sub

i want to seperate this like when i type sql. only sql function will appear and str. on string function will appear. How to do that?
 
Upvote 0

BarryW

Active Member
Licensed User
Longtime User
I think its related to my first question. Is there any declaration of private class?
 
Upvote 0
Top