? 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 ✎ 1626 12Me21 Head Admin Third Year My account is over 3 years old Website 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 ✎ 139 CyberYoshi64 Night Person I like the quiet night and sleep late. Express Yourself Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength First Year My account is over 1 year old Website 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 ✎ 139 CyberYoshi64 Night Person I like the quiet night and sleep late. Express Yourself Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength First Year My account is over 1 year old Website
    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 ✎ 436 kenchic Avatar Taboo I didn't change my avatar for 180 days Website Third Year My account is over 3 years old Website osu! Is Awesome! I love osu! 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!!!!!!!!!!!!!!!!
    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 ✎ 139 CyberYoshi64 Night Person I like the quiet night and sleep late. Express Yourself Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength First Year My account is over 1 year old Website
    ... 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 ✎ 906 snail_ Helper Received for being very helpful around SmileBASIC Source Achievements OSP Contest 2 Contest Participant I participated in the second SmileBASIC Source OSP Contest! Night Person I like the quiet night and sleep late. Express Yourself 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 ✎ 139 CyberYoshi64 Night Person I like the quiet night and sleep late. Express Yourself Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength First Year My account is over 1 year old Website 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