Search found 34 matches

by greycheek
Mon Mar 07, 2016 4:24 pm
Forum: Other topics
Topic: Decimal Places
Replies: 4
Views: 3749

Re: Decimal Places

thanks. i didn't see that.
by greycheek
Sun Mar 06, 2016 8:01 pm
Forum: Instructions
Topic: Adding smart BASIC to Xcode Tutorial
Replies: 29
Views: 26908

Re: Adding smart BASIC to Xcode Tutorial

Do we as SmartBasic developers have the right to distribute SmartBasic apps in the Apple App Store for commercial use, royalty free?
by greycheek
Sun Mar 06, 2016 7:55 pm
Forum: Instructions
Topic: Importing Files in SmartBasic SDK
Replies: 18
Views: 13676

Re: Importing Files in SmartBasic SDK

graphics
draw image "1.jpg" at 0,0

I have not been able to refetence a literal string as in the above example without generating a syntax error.
by greycheek
Sun Mar 06, 2016 6:41 pm
Forum: Other topics
Topic: Decimal Places
Replies: 4
Views: 3749

Re: Decimal Places

I would like to display the number in a text field.
by greycheek
Sun Mar 06, 2016 6:28 pm
Forum: Other topics
Topic: Decimal Places
Replies: 4
Views: 3749

Decimal Places

There doesn't seem to be a simple way of limiting the number of decimal places in a real number other than the FORMAT string function, which doesn't seem to work outside of the PRINT command. Am I missing something - is there a way?
by greycheek
Sun Mar 06, 2016 5:02 pm
Forum: Instructions
Topic: Importing Files in SmartBasic SDK
Replies: 18
Views: 13676

Re: Importing Files in SmartBasic SDK

Fixed the problem. Apparently filenames cannot be passed as literals; they must be assigned to a string variable first, and passed that way. Also, each time the program is run through the simulator, the previous run must be deleted from the home screen of the simulator, before any code changes are r...
by greycheek
Thu Mar 03, 2016 11:51 pm
Forum: Instructions
Topic: Importing Files in SmartBasic SDK
Replies: 18
Views: 13676

Re: Importing Files in SmartBasic SDK

If the interpreter is included, then is there any way to monitor its code execution? That way Maybe I can track down the problems with my program code.
by greycheek
Thu Mar 03, 2016 5:42 pm
Forum: Instructions
Topic: Importing Files in SmartBasic SDK
Replies: 18
Views: 13676

Re: Importing Files in SmartBasic SDK

How is the SmartBasic code interpreted or compiled within Xcode?
by greycheek
Wed Mar 02, 2016 2:02 am
Forum: Instructions
Topic: Importing Files in SmartBasic SDK
Replies: 18
Views: 13676

Re: Importing Files in SmartBasic SDK

Did that. Now instead of "INPUT without Data . . .", I'm getting a Syntax error in the "DRAW IMAGE" command of one of the images external to the SmartBasic code.
by greycheek
Wed Mar 02, 2016 1:11 am
Forum: Instructions
Topic: Importing Files in SmartBasic SDK
Replies: 18
Views: 13676

Re: Importing Files in SmartBasic SDK

I'm stumped. Even when I remove the "FILE "Info.txt" INPUT infotext$" command from the SmartBasic code, the iOS simulator still generates the same error message at runtime!