? the BASQUICK library (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Contest results!

the BASQUICK library

  • #1 ✎ 54 dfrost2 Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself I have been working on an Object Oriented Extension for SB called BASQUICK(yes, it's wordplay). It has been in development for a few weeks. The "objects" are arrays. I just did some JS a little bit ago and saw what it looks like when you reference an object. I'm going to implement it to SB. BASQUICK is now in version 0.1.3 as of March 13, 2018(today). It has an implementation of the "new" command from JS. It comes with the EVAL() and TYPEOF$() commands Posted Edited by dfrost2
  • #2 ✎ 54 dfrost2 Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself EVAL() BASICally uses PRGINS to insert the input into the 1st slot. Posted
  • #3 ✎ 54 dfrost2 Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself There is a total of ~400 lines as of today(March 13, 2018). EVAL(): evaluates the expression.Ex: PRINT EVAL("20 + 20") 40 OK Posted
  • #4 ✎ 54 dfrost2 Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself TYPEOF$() gets the type of value inputted. Example: PRINT TYPEOF$(20) integer OK PRINT TYPEOF$("HELLO SBS!") string OK DIM ARRAY$[20]: FILL ARRAY$,"FOO": PRINT TYPEOF$(ARRAY$) string array OK 'because my dad wanted me to do this: PRINT TYPEOF$("[email protected]") email OK REM also, while I was at it, I decided to use CHKFILE() to check if the file by the name of a string existed PRINT TYPEOF$("PRG0:FOO") program file OK I will eventually add a feature so you can mask out the extras like: email files{ PRG GRP DAT TXT } There will also be a feature where the return type is integer, not string Posted Edited by dfrost2
  • #5 ✎ 1507 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS OSP Contest 2 Winner I won the second SmileBASIC Source OSP Contest! Programming Contest Second Year My account is over 2 years old Website You should probably separate type checking from string matching. For example, functions like TYPEOF, ISEMAIL, ISFILENAME, etc. Posted
  • #6 ✎ 54 dfrost2 Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself OK! Thanks for the feedback! Will be in 0.1.4! Also, there must be a way to make a try-catch block. I'm not promising anything, but I'll try... Posted
  • #7 ✎ 54 dfrost2 Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself I'm thinking about using your Diamond-Square algorithm in the library, If your fine with it... Everything else is my own work. the TYPEOF is a build - on to Calc84's TYPEOF command, though. Posted
  • #8 ✎ 54 dfrost2 Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself if I make a try-catch block then it will only work for SB's functions, and my own, though. I have an idea for it. Posted
  • #9 ✎ 87 banana RNG Hidden Easter Eggs Disguised Hidden Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Wow Posted
  • #10 ✎ 54 dfrost2 Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself What's catching your eye?(what are you "Wow" ing about?) Posted
  • #11 ✎ 54 dfrost2 Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Minecraft Is Awesome! I love Minecraft! Express Yourself I am now implementing a ForEach() function (based from JavaScript's version. The cool thing about it is that it works on literally ANY array, regardless of dimensions, size, etc. Posted