Why @ Isn't A Precise Synonym For THE

Having noticed that @ will bind what it gets, and that apostrophe is the operator for getting things not bound, I hope binding is what is usually desired.

Because apostrophe is not going to work very well here.

Value* result1 = rebValue("eval ['", nullptr, "]);

Maybe a good syntax highlighter could help you with that. :-/

Or...I guess you could throw a space in there to make it clearer:

Value* result1 = rebValue("eval [' ", nullptr, "]);

For whatever it is worth, @ has been binding in Pure Virtual Binding II and all the API code is working. In fact it had to bind for anything to work, when I was wondering if it should or not.

So this hopefully shouldn't be a problem.

1 Like