Dear Sir,
I accept my English is not good.
I have created some code in lazarus and I want to use inside android kotlin .
same code can be reuse .
I have tried javascript inside kotlin it is working so I am considering pascal also support the same.
Please guide me.
This isn't so much an English thing as an overall approach thing. You didn't help yourself by abandoning your earlier question and asking a vaguer one: you'd have done better by leaving it a few days and than posting a followup (i.e. commenting to your original question) along the lines of "does anybody have any suggestions at all, please?".
Your other posting talks about making a .so library. It's certainly possible to do that using FPC and even- within limits- using Lazarus. The key is that both the main program and the library will have their own heap etc., so you have to be extremely careful how you move data between them /particularly/ strings (other than shortstrings) and dynamic arrays.
From the Kotlin side: I really can't help, and using the forum's search facility (which I presume you know about, and was how I was reminded of the earlier version of your question) I've can't see much relevant discussion.
My suggestion would be that you should practice setting up a .so using FPC and make sure that you can call it (possibly from FPC, possibly from Lazarus), and then ask about the Kotlin aspect elsewhere ("I have a .so written using FPC, I'm confident it's functional, please could somebody tell me how I can integrate that with a Kotlin program on Android").
My apologies if I sound critical, but I'm really trying to help you improve the way you're going about things since- apart from anything else- improvements to how you ask questions in this form will help you in others.
Oh, and do remember that thanking people and summarising what approach you've selected to solve a problem will always go down well.
MarkMLl