Jump to content

Increment a numerical string: Difference between revisions

(→‎tonumber: gojq, supports unbounded-precision integer arithmetic)
Line 1,519:
<syntaxhighlight lang="frink">a = input["Enter number: "]
toString[eval[a] + 1]</syntaxhighlight>
 
=={{header|FTCBASIC}}==
<syntaxhighlight lang="basic">define value = 0, text$ = "12345"
 
strint value,text$
+1 value
intstr text$,value
 
print text$
pause
end</syntaxhighlight>
 
=={{header|FutureBasic}}==
305

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.