Hi,
I am calling a Function which accepts a string and gets printed, . And When I Call the same function with the same variable next time, its getting the Input from the User, but the new input is not assigning to the string. The old input remains in the Varaible.when printed, the old variable gets printed.

But if I examine in the debugger, then its working properly, the new input is assigned to the same string variable thus overwriting the old one. I could not know why this happens so.
Please can anybody suggest me where i am going wrong.

regards
Posted on 2003-07-17 10:22:25 by prasad_86
Post some code since what you are saying is pretty vague.
Posted on 2003-07-17 10:50:19 by roticv

Post some code since what you are saying is pretty vague.


The Code is in TASM,
I am developing Class Library for TASM.
With this we can declare the variables the way we declare in "C" language and can Operate on the data with the function members. The data types are actually Objects(Classes).

Like
Character String1[20[10]
Integer Int1[10]={1,2,3,4,5,6,7,8,9,0}
----
---
MOV SI, Offset String1
CALL SI Method Char:Scanf
------
------

Because the code contains thousands of Lines, it is hard to figure out where the problem is. But I will try scanning the code.

Any way thanks for the reply.
Posted on 2003-07-17 12:18:15 by prasad_86