Updating
Currently to get the new docs pages after an update, you must delete your /appdata/docs/pages folder. Run Docs and the pages will update from docs' internal library.
Installation
In the terminal run load #docs
and then save it with save apps/docs.p64
Introduction
Docs has been built so that it can be a helpful companion while you code. It is built so that others can add their own files to docs if their app requires documentation.
Note
The Picotron documentation is currently being added, and so the current version has incomplete information. If you would like to help write the documentation feel free to reach out to me.
Calculator
Why another calculator
I wanted to make a simple calculator, since none of the currently available on Picotron really worked for me.
What's different
This calculator has been lain out to match a standard number pad, so it should look and feel familiar to most people. Also, the colours that it displays are from the current theme that your system is using, so it shouldn't feel out of place on any system. You can also copy the output to the clipboard by clicking the output display. You can also do negative numbers with the minus key. For example, typing 1
0
*
-
2
equals -20.
Versions
1.1 - Added equation history display above current running total display
PicoChat requires not to be run in the browser to function
Huge thanks to PixelDud for rebuilding the server in Go to support linux
Introducting PicoChat!
PicoChat is Picotron's first chat room. Its fully capable of sending and receiving messages, changing server and username.
Use /nick <name>
to change your Username.
Use /server <server address>
to change your server.
Want to setup your own chatroom?
Here's how to setup your own chatroom server:
- Download the server from here.
- Port forward port 80.
- Run the server.
If you want to add your server to the public server list, please send me a message on discord hessery
String
Picotron is currently missing many basic string handling functions. I've created this library to fill in some of the functions that I've come across. If you want to contribute please comment below your code and I'll add it.
Installing
Use load #string
and then press ctrl+R
to install.
Functions
string.upper(str)
Converts a-z characters to their A-Z counter parts.
string.lower(str)
Converts A-Z characters to their a-z counter parts.
string.explode(str, delimiter)
Converts a string into an array, splitting it at the delimiter.
winStay is a library that is used to easily keep window location and size persistent after closing the program. winStay has one function winStay
, which has three arguments:
name
is the name of the folder in which you want to keep the save data in within/appdata/
.width
is the default window width.height
is the default window height.
How to use winStay with yotta
After first installing Yotta, run the following commands:
> cd /ram/cart
> yotta init
> yotta add #lib_winstay-0
> yotta apply
Finally add the following code to the top of main.lua
.
[ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=143669#p) |