This shows you the differences between two versions of the page.
| cubloc:cubloc_basic_language:index [2026/02/20 15:37] – created - external edit 127.0.0.1 | cubloc:cubloc_basic_language:index [2026/04/02 22:10] (current) – [CUBLOC BASIC Features] admin | ||
|---|---|---|---|
| Line 35: | Line 35: | ||
| <code xbasic> | <code xbasic> | ||
| Function SUM( A As Integer, B As Integer) As Integer | Function SUM( A As Integer, B As Integer) As Integer | ||
| - | Dim RES As Integer | + | |
| - | RES = A + B | + | RES = A + B |
| - | SUM = RES | + | SUM = RES |
| End Function | End Function | ||
| </ | </ | ||