My Community
September 07, 2010, 06:00:48 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: QB64 is available for 64-bit Linux!  -  QB64 V0.91 for Windows was released on the 31st of July.
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: COM/LPT PORT ACCESS (via OPEN or OUT/INP)  (Read 1370 times)
rpgfan3233
Guest
« Reply #15 on: January 29, 2010, 07:33:01 PM »

You can look for: Currently not supported in QB64. And it will be removed when the statement is supported. I will also be adding a page of keywords not supported.

Wouldn't it be easier to simply have three sections?
  • QB64
  • QBasic keywords/functions (this is more accurate than calling them all keywords)
  • Unimplemented QBasic functions/statements

Perhaps subsections could be beneficial too.  Most of the keywords are parts of built-in statements like the NEXT, STEP and TO keywords of a FOR...NEXT loop statement.  The real nuance is the fact that statements are made up of keywords in the same way that sentences in spoken languages are made up of words.  In other words, separate functions from statements.  The alphabetic listing could still show things just as it does right now (possibly using the three sections mentioned earlier).  Another listing could be used to separate keywords/statements from functions.

It's just a suggestion, and I only see it really being useful for syntax highlighters.  After all, a built-in function such as ABS could be recognised by a syntax highlighter, but a user-defined function isn't necessarily recognised because it takes too much work to keep track of all user-defined functions and colouring them when they're called.  And a function isn't nearly the same as a statement since functions return values that statements can use.

Again, it's merely a suggestion.  It's not impossible, but the benefit might be far too small to perform such work.

Anyway, that's off-topic.  OPEN COM can't be used in QB64 yet, if it will be implemented at all in the future.
« Last Edit: January 29, 2010, 07:48:59 PM by rpgfan3233 » Logged
Clippy
Hero Member
*****
Posts: 2151


I LOVE π = 4 * ATN(1)


Email
« Reply #16 on: January 29, 2010, 09:33:51 PM »

How about Statements and Functions? DO YOU NOT SEE THEM CATEGORIZED? Galleon started the KEYWORD LIST! Ask him...

Why do you keep quacking about the WIKI? YOU DON'T and WON"T HELP!

To some people, COM ports are as important as LINUS is to you. Why did you hijack this thread?

Ted
Logged

Download my Q-basics Demonstrator here: http://dl.dropbox.com/u/8440706/Q-Basics.zip
Cyperium
Hero Member
*****
Posts: 956


Original QB!


Email
« Reply #17 on: January 30, 2010, 06:13:43 PM »

As I see it keywords is a name for any word that goes along with the syntax except parameters. Instead of saying: here is a list of all statements/functions/operators we say here is a list of all keywords.

Keywords are the key words of a programming language as I see it and as such I see no need to categorise them further.


As you said, it would require much more work than benefits, I also don't see the benefits that clearly, I think it might just add another step/get more confusing to get to the keyword you want.

I'm sure that Galleon will work on the support for COM ports, we know it is possible as there is a solution in other languages.


edited: I'm pretty sure I started the keyword list Wink, I know this because I wrote them all down by hand from QB-help on paper before writing them to the wiki, a serious case of copyright infringement.
« Last Edit: February 08, 2010, 05:05:44 PM by Cyperium » Logged

The downloads for dqb2qb64 and Venture are currently down, links will be shown at the next release of dqb2qb64. Download my custom editor for QB64 (here (zip)).
Clippy
Hero Member
*****
Posts: 2151


I LOVE π = 4 * ATN(1)


Email
« Reply #18 on: February 08, 2010, 11:24:24 PM »

OMG! I thought Galleon started it, but I know that you came up with all of the Qbasic keywords.

Some are redundant, but I was not about to question them. I never used some of them. EXIT IF?

Like I said several times, we NEVER had to question each other and we both were MORE productive! I hope those days will return again SOON.

Ted
« Last Edit: February 09, 2010, 01:57:29 PM by Clippy » Logged

Download my Q-basics Demonstrator here: http://dl.dropbox.com/u/8440706/Q-Basics.zip
Cyperium
Hero Member
*****
Posts: 956


Original QB!


Email
« Reply #19 on: February 11, 2010, 05:33:09 PM »

Galleon installed the Wiki and set some general guidelines (it should have a keyword list/functional list/etc.) that I followed.

Yeah, you and stylin seemed to get along nicely for a while, but then the fire went out of control again. I hope that mutual respect can be achieved somehow (with respect not necessarily meaning liking eachother).

Looks like I'm not being able to finish the codelinking before you and stylin are unbanned though, life gets in the way sometimes Smiley
Logged

The downloads for dqb2qb64 and Venture are currently down, links will be shown at the next release of dqb2qb64. Download my custom editor for QB64 (here (zip)).
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!