Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



The SADD function performs string addition of two base 10-string numbers. It takes the general from:

SADD(expr1, expr2)

Where :

expr1 and expr2 are strings consisting of numeric characters, optionally including a decimal part.

The SADD function can be used with numbers that may exceed a valid range with standard arithmetic operators.

The PRECISION declaration has no effect on the value returned by SADD. Examples of use would be:

A = 4000000000000000000000000000000
B = 7

to display 4000000000000000000000000000007 to the screen, or 

CRT SADD (4.33333333333333333,1.8)

to display 6.13333333333333333. 

Go back to jBASE BASIC.

Was this article helpful?