? CONTROLLER 0 crashes (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

CONTROLLER 0 crashes

  • #1 ✎ 86 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 Entering CONTROLLER(0) in run or direct mode and trying to run, will crash SB (Only works in Petit computer 3 v3.5.0) EDIT: But if you do V=controller(0) it doesn't crashes Posted Edited by banana
  • #2 ✎ 1785 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself check if CONTROLLER 0 crashes. Since CONTROLLER 0 = CONTROLLER (0) which might be the same as CONTROLLER(0) in some cases. Posted
  • #3 ✎ 86 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 CONTROLLER 0 also crashes (and sorry for being late) Posted
  • #4 ✎ 185 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself CONTROLLER doesn't have an explanation and every other value that isn't 0 will actually give errors and don't crash SB though.CONTROLLER shouldn't be here. It should only be there in SB BIG. I guess SmileBoom was accidentally forgetting to delete this command in the 3DS version, since it's only purpose seems to be giving errors and crashing SB. Posted
  • #5 ✎ 86 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
    CONTROLLER doesn't have an explanation and every other value that isn't 0 will actually give errors and don't crash SB though.CONTROLLER shouldn't be here. It should only be there in SB BIG. I guess SmileBoom was accidentally forgetting to delete this command in the 3DS version, since it's only purpose seems to be giving errors and crashing SB.
    It's BIG compatibility
    Posted
  • #6 ✎ 185 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself
    CONTROLLER doesn't have an explanation and every other value that isn't 0 will actually give errors and don't crash SB though.CONTROLLER shouldn't be here. It should only be there in SB BIG. I guess SmileBoom was accidentally forgetting to delete this command in the 3DS version, since it's only purpose seems to be giving errors and crashing SB.
    It's BIG compatibility
    Well, why is it here? It hasn't a compatibility at all!!!!!!!!!!!!!!!!
    Posted
  • #7 ✎ 475 auceps
    CONTROLLER doesn't have an explanation and every other value that isn't 0 will actually give errors and don't crash SB though.CONTROLLER shouldn't be here. It should only be there in SB BIG. I guess SmileBoom was accidentally forgetting to delete this command in the 3DS version, since it's only purpose seems to be giving errors and crashing SB.
    It's BIG compatibility
    Well, why is it here? It hasn't a compatibility at all!!!!!!!!!!!!!!!!
    Would you rather have Syntax Error on 0:190 from a BIG program, or a specialized error code that explains something more? My point is bad anyways since the error code from CONTROLLER doesn't really help you
    Posted
  • #8 ✎ 185 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself
    ... Well, why is it here? It hasn't a compatibility at all!!!
    Would you rather have Syntax Error on 0:190 from a BIG program, or a specialized error code that explains something more? My point is bad anyways since the error code from CONTROLLER doesn't really help you.
    I don't have a Wii U to test it...
    Posted
  • #9 ✎ 1022 snail_ QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Helper Received for being very helpful around SmileBASIC Source Achievements Amazing Contributor Someone thinks I'm an awesome person who has done so much for the community! Achievements There is absolutely no reason for CONTROLLER to do anything other than throw Incompatible statement (which is the error they added SPECIFICALLY for when you use a function that isn't supported in the current mode or system) because the output of CONTROLLER(0) isn't even useful in the 3DS version anyway. Pretty much every program that will use the CONTROLLER function will also have XON WIIU, which is an Incompatible statement on 3DS, so there's no reason for CONTROLLER to do anything different. Its output in 3DS mode pretty much amounts to "this 3DS is a 3DS," which you knew already. Amusingly, there isn't a "command" form for CONTROLLER even in BIG; it's always to be called as a function expression. It's crashing on syntax that is entirely illegal and should throw an error anyway. Posted
  • #10 ✎ 185 CyberYoshi64 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself I tested something out: >print Controller(0) 1 >TestSomeThings=Controller(0) >print TestSomeThings 1 >print Controller(1) Incompatible statement (CONTROLLER) >Controller 0 ...Crash! Edit: It's kinda weird that SB didn't even fix this bug in V.3.6.0 Posted Edited by CyberYoshi64