Chris,
My current thinking is to only allow it in dialects where it is expect, in other words not in Vulcan and not in Core.
Robert
Help with converting StrEvaluate to X#
Help with converting StrEvaluate to X#
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Help with converting StrEvaluate to X#
Yeap, absolutely agreed!Robert van der Hulst wrote:Chris,
My current thinking is to only allow it in dialects where it is expect, in other words not in Vulcan and not in Core.
Chris
ps. that's my first attempt to properly quote someone in the forums world, let's see if I did that properly
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Help with converting StrEvaluate to X#
agreed, seems best solution.
Help with converting StrEvaluate to X#
Sorry to necro old thread. Any idea when StrEvaluate will be implemented (or will not be at all)? It will compile but throw errors during runtime:
Exception has been thrown by the target of an invocation.
The method or operation is not implemented.
Thanks.
Exception has been thrown by the target of an invocation.
The method or operation is not implemented.
Thanks.
Help with converting StrEvaluate to X#
Boonnam,
Can you show me an example of how you are using this ?
(Apart from the previous example
And what is cType in this context. A local, a dynamic memory variable, anything else ?
Would it help if the compiler changes this to
that means, use an interpolated expression ?
Robert
Can you show me an example of how you are using this ?
(Apart from the previous example
Code: Select all
SELF:oNetClnt:SetFilter( StrEvaluate('MTYPE=="&cType"') )
Would it help if the compiler changes this to
Code: Select all
SELF:oNetClnt:SetFilter( ei"MTYPE=="{cType}"") )
that means, use an interpolated expression ?
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu