0 Members and 2 Guests are viewing this topic.
1-->N2-->o3-->Y4-->E5-->Sinput"prom (Yes/No),AifA=YESthen...
AsmPrgm3E51FD7712C9
For that, you need an assembly program. For example, name the program prgmALOCK and use Asm(prgmALOCK before the Input command:Code: [Select]AsmPrgm3E51FD7712C9Also, I noticed that elsewhere you said this was for a school project ?
there is no need of the asmcomp() cmd. It's just if you want to save weight
Quote from: TheMachine02 on May 01, 2013, 09:56:07 amthere is no need of the asmcomp() cmd. It's just if you want to save weightyes but some calcs crashes or disp invalid whithout asmcompile(...
ClrHomeASM(prgmALPHAON //or whatever else the name of that ASM program you will use is...Input "PROM?",Str1If inString(Str1,"YES") or inString(Str1,"SURE") or inString(Str1,"YA") or inString(Str1,"ALRIGHT") or inString(Str1,"OKThenPause "YAY! :DElsePause "D:End
ClrHomeASM(prgmA Input "PROM?",Str1length(str1)-->C"yes yep "-->str5if instring(str5,sub(str1,1,CThenPause "YAY! :DElsePause "D:End
:ClrHome:Asm(prgmALPHA:Input "PROM?",Str1:not(inString("YESUREYALRIGHTOK",Str1:Pause sub("YAY! :D:",6Ans+1,7-5Ans
What's funny about codebender's code is that "I WOULD SAY YES, BUT I DONT LIKE YOU" would get a "YAY! " in response.As an optimization, and though it wouldn't work in the same way or catch a "YES" inside a larger string:Code: [Select]:ClrHome:Asm(prgmALPHA:Input "PROM?",Str1:not(inString("YESUREYALRIGHTOK",Str1:Pause sub("YAY! :D:",6Ans+1,7-5AnsBut prom was yesterday, so I'm too late anyways.