StrEvaluate Function |
Namespace: XSharp.RT
[NeedsAccessToLocalsAttribute(FALSE)] FUNCTION StrEvaluate( cString AS STRING ) AS STRING
[NeedsAccessToLocalsAttribute(false)] public static string StrEvaluate( string cString )
1MEMVAR cOne 2LOCAL cTwo AS STRING 3cOne := "world" 4ACCEPT "Enter a macro string " TO cTwo 5// If you type "Hello &cOne" (without quotes) 6? cTwo // Result: "Hello &cOne" 7? StrEvaluate(cTwo) // Result: "Hello world"