问题在代码的注释中:
define f(x) {
print x^2
}
define g(x) {
print x+2
}
if(f(2)>g(1)) {
print "it works"
}
43 # Why 43 instead of the text "it works"?
a=f(2)
b=g(1)
if(a>b) {
print "it works"
}
# Why nothing?
问题在代码的注释中:
define f(x) {
print x^2
}
define g(x) {
print x+2
}
if(f(2)>g(1)) {
print "it works"
}
43 # Why 43 instead of the text "it works"?
a=f(2)
b=g(1)
if(a>b) {
print "it works"
}
# Why nothing?