Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Difference between revisions of "YOLOL"

From Starbase wiki
Jump to navigation Jump to search
Line 29: Line 29:


=== Case insensitive ===
=== Case insensitive ===
YOLOL is fully case '''insensitive'''.<br>
This means that the following scripts function identically to each other:
if '''ButtonState''' == 1 then '''DoorState''' = 1 end
IF '''buttonstate''' == 1 THEN '''doorstate''' = 1 END


=== Variables ===
=== Variables ===

Revision as of 08:58, 18 March 2019

Summary

YOLOL is the programming language used to control and manage electric devices.
The code is written on lines in chips which are then inserted to chip sockets, that read and relay their messages.
With YOLOL, it's possible to control almost any device within the known universe.

Basic information

How it works?

YOLOL code is written to and executed from YOLOL chips, and can be used to monitor and control electrical devices connected to the data network the chip is connected to.
Lines of code are executed in sequence from top to bottom, repeating the cycle of the chip after the last line has been executed, unless the script includes instructions for specific line changes, or stopping code completely.

To put it simply:

  1. Code execution starts from line 1
  2. After reading line 1, it proceeds to the next line based on the chip time interval
  3. The process is repeated
  4. If there are no special cases, the chip will begin executing line 1 again after the last line has been executed

Related pages

Command references

Case insensitive

YOLOL is fully case insensitive.
This means that the following scripts function identically to each other:

if ButtonState == 1 then DoorState = 1 end
IF buttonstate == 1 THEN doorstate = 1 END

Variables

Operators and commands

Logical operators

Errors

Cookies help us deliver our services. By using our services, you agree to our use of cookies.