FileCode

From Esolang
Jump to navigation Jump to search

A weird programming language that explains using files to do the work for the interpreter. (No interpreter yet)
It has weird files on your computer that only FileCode understands the extension of.
You must use & and not a new line to separate commands.
It is for experimenting, and it is created by User:Rdococ.

A program that fiddles with variables, and explains the use of comments: (Beware: This is quite hard to learn!)

/programinterept.int inputs " /var/new/varcreate.vc inputs "var" & /var/increment/increment.scr inputs "var" "2" & /var/decrement/decrement.scr inputs "var" "2" & /!This is a comment!/ & /comment/add/create.scr inputs "This is the equlivent to the comment before this command" & /var/increment/increment.scr inputs "var" "1" & /var/increment/increment.scr inputs "var" "3" & /!The above does 2 commands one after another, used with the if command!/ & /if/equal.bo inputs var "2" /var/increment/increment.scr inputs "var" "2" & /!Comments on it's own!/" "

Other commands

A list of other commands.

Reporters

/report/answer.re
/join.re inputs "Join this" " and this together!"

Printing

/print/print.scr inputs "I print this."

Asking for no apparent reason

(scrboc means Script/Command as Boolean Counterpart)
/noreason/ask/ask.scrboc

Deleting a variable

/var/del/delvar.vd inputs "varname"

Ending a program

/endprogram.exi inputs "programinterept.int"

Starting a program's scripts

(if not placed, error will show up)
/programminginterept.int inputs "codehere"

Other booleans

/not.bo inputs "equal.bo inputs "2" "2" "
/equal.bo inputs "2" "2"
/lessthan.bo inputs "2" "1"
/morethan.bo inputs "2" "3"
/questionanswer.bo inputs "Do you exist?" "Yes."


[!] Please take time to edit this page to include a link to a bigger description—I'm lost here!