imgsimonebiliato Well-Known Member Licensed User Longtime User Jun 27, 2013 #1 Hello, how can I put a comment to a method in a b4a library? Thanks :BangHead:
giga Well-Known Member Licensed User Longtime User Jun 27, 2013 #2 imgsimonebiliato said: Hello, how can I put a comment to a method in a b4a library? Thanks :BangHead: Click to expand... Comment are usually added when the library is created example: /** * example comments here. */ Upvote 0
imgsimonebiliato said: Hello, how can I put a comment to a method in a b4a library? Thanks :BangHead: Click to expand... Comment are usually added when the library is created example: /** * example comments here. */
imgsimonebiliato Well-Known Member Licensed User Longtime User Jun 27, 2013 #3 giga said: Comment are usually added when the library is created example: /** * example comments here. */ Click to expand... Hi giga, but this comment is in java. I want to comment a b4a library Upvote 0
giga said: Comment are usually added when the library is created example: /** * example comments here. */ Click to expand... Hi giga, but this comment is in java. I want to comment a b4a library
giga Well-Known Member Licensed User Longtime User Jun 27, 2013 #4 imgsimonebiliato said: Hi giga, but this comment is in java. I want to comment a b4a library Click to expand... Are you making a B4A Library? or Do you have one already compiled?? Upvote 0
imgsimonebiliato said: Hi giga, but this comment is in java. I want to comment a b4a library Click to expand... Are you making a B4A Library? or Do you have one already compiled??
imgsimonebiliato Well-Known Member Licensed User Longtime User Jun 27, 2013 #5 giga said: Are you making a B4A Library? or Do you have one already compiled?? Click to expand... I'm making it Upvote 0
giga said: Are you making a B4A Library? or Do you have one already compiled?? Click to expand... I'm making it
IanMc Well-Known Member Licensed User Longtime User Jun 27, 2013 #6 When you make a Sub the comments that you put above it should appear in the intellisense Code: 'this is my comment about my super duper sub 'this sub should return the sum of two numbers Sub ReturnAplusB(a as int, b as int) as int return a + b end sub Then when you call ReturnAplusB( it should show your comments in the intellisense and also show what you need to provide to get the sub to work. Something like that anyway, does it work in compiled libs? It's in Klaus's rather nicely written beginners guide I think. Remember you can always use Ctrl Space to bring up the intellisense engine. Upvote 0
When you make a Sub the comments that you put above it should appear in the intellisense Code: 'this is my comment about my super duper sub 'this sub should return the sum of two numbers Sub ReturnAplusB(a as int, b as int) as int return a + b end sub Then when you call ReturnAplusB( it should show your comments in the intellisense and also show what you need to provide to get the sub to work. Something like that anyway, does it work in compiled libs? It's in Klaus's rather nicely written beginners guide I think. Remember you can always use Ctrl Space to bring up the intellisense engine.