TGC Codebase Backup



DerricFunctions by Amd Silver

17th Feb 2006 21:16
Summary

just a few functions i threw together. There probally not very good but it was spare time.



Description

If any one has ever used a ti 83+ the output function is the same syntax as that.

Output(
Descripition
Same as text but backwards
Syntax
Output(Row,Colum,Text$)

Password(
Description
Prompts for a password returns 1 if correct 0 if incorrect.
Syntax
Password(Password$)

Note: I Know most peaple must know this but if you put it in a DB or DB Pro file you can use the command #Include to declare these from that



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    FUNCTION Output(row,colum,text$)
TEXT colum,row,text$
ENDFUNCTION

FUNCTION Password(Password$)
INPUT "Password?",Answer$
IF Answer$ = Password$ then correct = 1
IF Answer$ <> Password$ then correct = 0
ENDFUNCTION correct