BFPL

 

Key BFPL Features:

 

Up to 32767 user definable variables

Faster than many other interpreters

BFPL is a totally unique language

Simple, easy-to-learn syntax

 

BFPL Programs are identified with the .bfpl extension. To run a BFPL program, right click the .bfpl file you want to run, choose “Open With” and choose BFPL.exe (You may have to browse for it). From then on all .bfpl files should be associated with BFPL.exe so you can just double click them to run them.

 

Here is a list of all the BFPL commands and how to use them.

 

Keep in mind that in each of these commands, the variables which can be used can range from 00000 to 32767.

 

fnumv ex: fnumv300 – would declare 300 variables for use. You can declare up to 32767 variables. You must declare your variables on the first line of a program you write.

 

fendp – ends program.

 

fsetv – ex: fsetv001Hi – This would set variable 001 to “Hi”.

 

finpt – ex: finpt001002 – takes input to variable 001 with a prompt of the value of variable 002.

 

fprnt – ex: fprnt001 – prints the value of variable 001 in the console.

 

fnewl – inserts a new line to the console.

 

fifvr – ex: fifvr001002= - checks if variable 001 and 002 are equal to each other. > can also be used to check if a variable is greater than.

 

fmath - mathematical function ex: fmath001002003+  this would add variable 001 and 002 the result would be put in variable 003. -, *, and / can be used to subtract, multiply, and divide, respectively.

 

fmsgb - the message box command ex: fmsgb001  would display a message box with the contents of variable 001.

 

fappd - append function ex: fappd001002003 would append variable 001 to 002 and put the result in 003.

 

ftitl - the program title function ex: ftitl001  would set the program title to the value of the variable 001.

 

frexe – ex: frexe001 - runs the path that 001 leads to (assuming it is a path).

 

fcopy – ex: fcopy001002 – copys the value of variable 001 to variable 002

 

fgoto – ex: fgoto6 – would go to line 6 and execute code from there. Can be used to make loops and many other useful things. I reccoment Notepad++ as an IDE for bfpl files, so you can see line numbers.

 

fappd – ex: fappd001002000 – would append the value of variable 001 to 002 and store the result in 000

 

ftxtd – scrolls console to the bottom

 

frand – ex: frand001002003 – this would generate a random number between the values of 001 and 002, and store the result in 003

 

‘ – ‘ is the comment operator. Put it in front of comments ex: ‘this is a comment

 

The rest of the commands are system functions, things that are used specifically to do windows operations.

 

scdrm – ex: scdrm001 – if 001 held a value of 1, then the cdrom tray would open. If 001 held a value of 0, the the tray would close.