baanware
15th March 2009, 12:06
Hi
I would like to convert a string at run time using a simple conversion like:
a.string = toupper$(a.string)
I have mode this simple piece of code:
expr.id = expr.compile("a.string:=toupper$(a.string)")
s.expr$( expr.id )
expr.free ( expr.id )
When the code is executed it posts an error message saying that "toupper$" is an unknown symbol. The result is, that the string is nullified.
I suspect that the $ sign is the reason for the trouble. According to the manuals the $-sign has a special meaning (end of string) in runtime expressions. Is there any way of overcomming this?
Thanks!
I would like to convert a string at run time using a simple conversion like:
a.string = toupper$(a.string)
I have mode this simple piece of code:
expr.id = expr.compile("a.string:=toupper$(a.string)")
s.expr$( expr.id )
expr.free ( expr.id )
When the code is executed it posts an error message saying that "toupper$" is an unknown symbol. The result is, that the string is nullified.
I suspect that the $ sign is the reason for the trouble. According to the manuals the $-sign has a special meaning (end of string) in runtime expressions. Is there any way of overcomming this?
Thanks!