1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-05-31 12:41:29 +00:00

Updated Home (markdown)

David Schmenk 2017-12-15 13:31:46 -08:00
parent 92b1588202
commit 202e962c53

@ -8,6 +8,6 @@ libAPI:someFunc()
```
If the function doesn't have any parameters, the `()` are still required because the function will be accessed as just a `word` without them. The syntax superficially resembles object oriented language constructs and not by accident. Note that function pointers don't get the same parameter/return values checking that regular function definitions get. All library APIs return one value from every function so there isn't a danger of forgetting to override the return value count. However, the parameter counts aren't verified so you need to beware of getting them correct.
Smaller library APIs will export the individual functions and you will call them just like any other.
Smaller libraries will export the individual functions and you will call them just like any other.
## PLASMA Sample Code:
The sample code has been subject to even more evolution than the libraries. Some samples look very different than others as the language grew. Looking beyond the inconsistencies, you should find many answers on how to program PLASMA using different features of the Apple 1, II, and ///.