You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with access to my variable (2016.s) :(below my code)
I think the key 2016 interpreted as a number and not a string.
`
NSString *input = @"{{2016.s}}";
id vars = @{@"2016": @{ @"s" : @123.45}};
Hi,
I have a problem with access to my variable (2016.s) :(below my code)
I think the key 2016 interpreted as a number and not a string.
`
NSString *input = @"{{2016.s}}";
id vars = @{@"2016": @{ @"s" : @123.45}};
NSError *err = nil;
BOOL success = [eng processTemplateString:input withVariables:vars toStream:stream error:&err];
Error Domain=PEGKitErrorDomain Code=1 "TDTemplateEngineErrorDomain" UserInfo={NSLocalizedDescription=TDTemplateEngineErrorDomain, range=NSRange: {9223372036854775807, 0}, lineNumber=0, NSLocalizedFailureReason=Error while compiling print node expression
2016.s`Expected : «EOF»
Line : 1
}
Have you a solution?
Thanks
The text was updated successfully, but these errors were encountered: