See viewtopic.php?f=20&t=1664 and http://rosettacode.org/wiki/Category:Smart_BASIC
For me was that website really a revelation. I did not know its existence. Thanks Scott

For the task 'A+B' the following code was given:
Code: Select all
INPUT n$
PRINT VAL(LEFT$(n$,(LEN(STR$(VAL(n$))))))+VAL(RIGHT$(n$,(LEN(n$)-LEN(STR$(VAL(n$)))-1)))
END
Can that be changed to the HTML-page of the SB-manual http://nittersat.ru/BASIC_manual/en.pad ... asics.html

Furthermore sarossell added the following note to his code:
I took the chance to try it:NOTE: This is a horribly forced way of doing this. smart BASIC has commands to SPLIT strings. Surely someone can provide better code than what I've written here. ;@)
Code: Select all
INPUT n$
SPLIT n$ TO m$,n WITH " "
PRINT m$(0),m$(1),m$(0)+m$(1)