2,561
edits
Line 141: | Line 141: | ||
return naStr_fromdata(retval, result, strlen(result) ); | return naStr_fromdata(retval, result, strlen(result) ); | ||
} | } | ||
You can test this, by running a Nasal simple script like the following: | |||
# test new cool() function: | |||
print( cool("foo") ); | |||
print( cool(100) ; | |||
= Creating Nasal Data Structures = | = Creating Nasal Data Structures = |
edits