Search found 63 matches
- Sun Jul 18, 2021 4:50 am
- Forum: General Discussion
- Topic: Use the SpiderBasic IDE to Learn Commands and Keywords
- Replies: 12
- Views: 4087
Re: Where is Case? Answer: Under Select : EndSelect
While looking at example programs, you might see "Case" and go to look it up in the index . You can't find it, then you do a Google site search of spiderbasic.com and can't find it that way. I typed "case" under index and it gave me easy to understand results in both the SpiderB...
- Sat Jul 17, 2021 9:14 pm
- Forum: General Discussion
- Topic: Use the SpiderBasic IDE to Learn Commands and Keywords
- Replies: 12
- Views: 4087
Re: Where is Case? Answer: Under Select : EndSelect
no not just for me, but your points are not very accurate BlitzBasic has as also has procedures etc , dunno the rest. Purebasic (and by definition SpiderBasic) are heavily inspired by Blitz for us to be since the early days, have to know that original version of PureBasic was just a set of librarie...
- Sat Jul 17, 2021 7:30 pm
- Forum: General Discussion
- Topic: Use the SpiderBasic IDE to Learn Commands and Keywords
- Replies: 12
- Views: 4087
Re: Where is Case? Answer: Under Select : EndSelect
i cannot agree with you SELECT case, exist AT LEAST since Qbasic (this is the older I know but may be older) and exist in that form in all modern BASIC's and main competitors, (Visual BASIC etc) so it is as it should be ... I made this thread for any people like me who never heard of Select or Case...
- Sat Jul 17, 2021 5:39 pm
- Forum: General Discussion
- Topic: Use the SpiderBasic IDE to Learn Commands and Keywords
- Replies: 12
- Views: 4087
Re: Where is Case? Answer: Under Select : EndSelect
In the early days BASIC was like 10: LET a$ = 137 20: PRINT "Guess the number" 30: INPUT b$ 40: IF b$ = a$ THEN PRINT "You won!" 50: GOTO 30 Well, it's nice for a couple of lines, but I don't want to work like that any more... :) I was happy when I was able to use labels instead...
- Sat Jul 17, 2021 5:32 pm
- Forum: Coding Questions
- Topic: Is the canvas the only way to draw?
- Replies: 31
- Views: 5420
Re: Is the canvas the only way to draw?
Thanks. I'm going to make a new thread about "Case" for others who might be new to SpiderBasic. Don't know if you yet know it: When you click in your code on a keyword such as 'case' and then hit F1, the manual will pop up showing the help page for this command or keyword. Also pay attent...
- Sat Jul 17, 2021 4:32 pm
- Forum: General Discussion
- Topic: Use the SpiderBasic IDE to Learn Commands and Keywords
- Replies: 12
- Views: 4087
Re: Where is Case? Answer: Under Select : EndSelect
i dont get your point in BASIC it was always SELECT -> Case why someone to look somewhere else ? In all BASIC or BASIC-like languages that I used in the 1980s and 1990s, there was no Select or Case. They didn't exist. Seems like many of the things in SpiderBasic didn't exist. Another example of som...
- Sat Jul 17, 2021 3:46 pm
- Forum: General Discussion
- Topic: Use the SpiderBasic IDE to Learn Commands and Keywords
- Replies: 12
- Views: 4087
Use the SpiderBasic IDE to Learn Commands and Keywords
Click on Command or Keyword and Press F1 As munfraid said in another post, if you have example code open in the SpiderBasic IDE code editor, you can click on the command or keyword you want to know more about and press F1. The manual will pop up showing the help page for that command or keyword. Yo...
- Sat Jul 17, 2021 3:14 pm
- Forum: Coding Questions
- Topic: Is the canvas the only way to draw?
- Replies: 31
- Views: 5420
Re: Is the canvas the only way to draw?
Question 1: Row Mode Clear How do I clear the editor when the user selects a different Row Mode (as if they clicked on the Clear button)? In other words, where would the code below go? This goes to the GadgetEvents() procedure where the events of the #Combo_Rows are handled. Thanks. I'm going to ma...
- Fri Jul 16, 2021 9:04 pm
- Forum: Coding Questions
- Topic: Is the canvas the only way to draw?
- Replies: 31
- Views: 5420
Re: Is the canvas the only way to draw?
When you have time, I have a few more questions. Question 1: Row Mode Clear How do I clear the editor when the user selects a different Row Mode (as if they clicked on the Clear button)? In other words, where would the code below go? Dim playfieldData(cols, rows) Dim playfieldFG(rows) Dim playfieldB...
- Fri Jul 16, 2021 5:04 pm
- Forum: Coding Questions
- Topic: Is the canvas the only way to draw?
- Replies: 31
- Views: 5420
Re: Is the canvas the only way to draw?
You're right about the colors, they have to be BGR. I understand that it's not so easy to put Peter's code into the editor if you're new to SB. So have a look here how it could be done: ;- META EnableExplicit #AppName = "Playfield Editor" #Version = "0.0.2" ;- DECLARATIONS ; def...