Skip to content
Austin edited this page Sep 7, 2020 · 10 revisions

Welcome to the Functions Wiki!

To use, just add the Functions file to your project folder and then in your project

Python

Simply add the function file that you need to your project. In your main file of your project do from 'name of file' import * if you want all the functions.

If you don't want all the functions, simply do import 'file name' so when you need to call a function you will need to do 'function file name'.functionName

JavaScript Simply add the function file that you need to your project. In your main web file or header file, add <script type='text/javascript' src='FunctionFileName.js'></script>. You will have to do this for each function file name. If you are using PHP you can do a separate file and put all the function scripts in there and then on your main page do include('AllFunctions.php') in where AllFunctions.php has all the JS scripts. An example will be provided in the JavaScript folder.

Clone this wiki locally