Does anyone have the compiler codes to this?
Should be something like hardware.
Trying to sync power usage frequency, use crashed input individually, mirror the sound board/graphics card, add third party hardware, buffer the strip/breaker, decompile code, fix my phone service, service the light, program the camera, adhere to Bluetooth, and align the iPhone buttons.
Compiler Codes
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Compiler Codes
Sounds like a problem with the Frannenstat chip.
Seriously, this is a Forum for Smart Basic users. Did you arrive here by mistake?
Seriously, this is a Forum for Smart Basic users. Did you arrive here by mistake?
The only thing that gets me down is gravity...
Re: Compiler Codes
Aight then I need the code for when a command crashes for the program to skip it and keep going
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Compiler Codes
Smart Basic has a few error-trapping commands, such checking if DATA statements have unread data, whether files exist, etc.
Otherwise you need to anticipate any errors that might occur and write code to trap them.
Example - ask someone for their name.
Getname:
INPUT "What is your name"; name$
IF name$="" THEN
PRINT "You didn't enter anything! Try again."
GOTO Getname
ENDIF
IF LEN(name$)>30 THEN
PRINT "Your name is too long. Please use a nickname."
GOTO Getname
ENDIF
PRINT
PRINT "Hello, "&name$
Otherwise you need to anticipate any errors that might occur and write code to trap them.
Example - ask someone for their name.
Getname:
INPUT "What is your name"; name$
IF name$="" THEN
PRINT "You didn't enter anything! Try again."
GOTO Getname
ENDIF
IF LEN(name$)>30 THEN
PRINT "Your name is too long. Please use a nickname."
GOTO Getname
ENDIF
PRINT "Hello, "&name$
The only thing that gets me down is gravity...
Re: Compiler Codes
Ah! Ok. So if I where to have an program have some kind of adherence that wasn’t available, but still had input, I would have to make an IF statement for the compiler to carry on.
Is there a quick way to do this with an infinite set of character combinations?
This program includes with a DO/WHILE loop, which has no else statement involved by default.
N = 31
X$ = ""
Z$ = ""
DO
DO
N = N + 1
Q$ = CHR$(N)
V$ = CHR$(N)
CALL A ()
WHILE 50
X$ = X$ & Q$
Z$ = Z$ & V$
END WHILE
UNTIL N > 125
UNTIL Z$ = "."
PRINT X$
Is there a quick way to do this with an infinite set of character combinations?
This program includes with a DO/WHILE loop, which has no else statement involved by default.
N = 31
X$ = ""
Z$ = ""
DO
DO
N = N + 1
Q$ = CHR$(N)
V$ = CHR$(N)
CALL A ()
WHILE 50
X$ = X$ & Q$
Z$ = Z$ & V$
END WHILE
UNTIL N > 125
UNTIL Z$ = "."
PRINT X$
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Compiler Codes
It makes no sense what you are asking. You can't just enter random characters and then call them as if they were functions. If you ask more questions that are this illogical, I will ignore them.
Some Forum members now suspect you of being a troll. Not a good thing for such a new member.
Some Forum members now suspect you of being a troll. Not a good thing for such a new member.
The only thing that gets me down is gravity...
Re: Compiler Codes
Ha! I guess any loop with an error - trapping command would be unable to be coded ambiguously, as it does not execute the code if it is has no specified output in the first place.
How do I remove the error-trapping command system?
How do I remove the error-trapping command system?
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Compiler Codes
Sublime7 is banned for stupid questions.