We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was just trying some tricky things and found the following code makes FORM freeze:
#define CALL(a) " #call Test(`~a') " #procedure Test(a) #message a=`a' #endprocedure `CALL(1)' .end
It seems to be an interference of the variables with the same name "a" between calling the procedure and the delayed substitution.
A workaround can be (1) to use different names:
#define CALL(a1) " #call Test(`~a1') " #procedure Test(a) #message a=`a' #endprocedure `CALL(1)' .end
or (2) not to give the arguments for the procedure (although it is a bit mysterious why it works):
#define CALL(a) " #call Test " #procedure Test #message a=`a' #endprocedure `CALL(1)' .end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was just trying some tricky things and found the following code makes FORM freeze:
It seems to be an interference of the variables with the same name "a" between calling the procedure and the delayed substitution.
A workaround can be (1) to use different names:
or (2) not to give the arguments for the procedure (although it is a bit mysterious why it works):
The text was updated successfully, but these errors were encountered: