I have a problem in my program.
I have a condition for comparing two strings:
(if (eq? (exp1) (exp2)))
When exp1 give me a string and exp2 give me a string. Of course, when do I change eq? to "=", this gives me the following problem:
=: expects type <number> as the 2nd argument, i.e. Other arguments were: i.e.
When I run the program, the function doesnt enter the first expression into the "if" function and enter the second (this means that this condition is false).
What can I do?
Thanks.
source share