Recent Posts

Pages: [1] 2 3 ... 10
1
QB64 Discussion / Re: Getting QB64 into the Rosetta Code
« Last post by bplus on December 14, 2017, 05:51:16 pm »
Hi keybonicplague,

Ah, the lowest hanging fruit is always the juiciest!

Did you know about the comma method for multiple INPUT?

Also I think Rosetta Challenge was looking for a string that represents A and B in one input with a space separating the two:
Code: [Select]
_TITLE "Oh what a difference a comma makes! by bplus 2017-12-14"
DEFINT A-Z

'comma method for multiple input:
INPUT "For A + B, Enter A, B "; a, b
PRINT "A + B ="; a + b

'string method for extracting values:
INPUT "For A + B, Enter A space B "; AB$
PRINT "A + B ="; VAL(MID$(AB$, 1, INSTR(AB$, " ") - 1)) + VAL(MID$(AB$, INSTR(AB$, " ") + 1))

append: Oh! I should mention, I had trouble finding the A+B entry for QB64, I was looking in Q section as Anagrams sample was after Python, I did not realize there was a Basic section started, at least for A + B.
2
Sample Programs / Re: [announcement] QB64shell command prompt for Windows
« Last post by eoredson on December 14, 2017, 05:47:20 pm »
Most recent update version notes:

Code: [Select]
QB64shell - command line prompt shell windows program for QB64

  First release:

    Version v.0001 Release r.001
    Build 11-21-2017.01

  New release:
    Build 11-24-2017.01
      Edits TREE to reflect TREEDIR

  New release:
    Build 11-29-2017.01
      Copyit v9.0a r4.0a updates:
        Adds quit option to disk full error.
        Now copies ambiguated unicode filenames.
        Fixes switches in moreprompt.

  New release:
    Build 12-02-2017.01
      Copyit v9.0a r5.0a updates:
        Now preserves unicode filenames.
        Now also preserves unicode directories.
        Adds break option to break trap.

  New release:
    Build 12-05-2017.01
      Adds Unicode to rename.

-end-

3
QB64 Discussion / Re: Getting QB64 into the Rosetta Code
« Last post by keybonicplague on December 14, 2017, 03:37:19 pm »
I just added A+B...  :)
Maybe ill do a few more simple ones

update:
did string case also
4
QB64 Discussion / Re: Getting QB64 into the Rosetta Code
« Last post by SMcNeill on December 14, 2017, 02:43:23 pm »
Ah youth! Got to love their energy and enthusiasm!

I don't know how many here follow what goes on at TJP forum or if Steve even knew we were talking Rosetta Code submissions representing QB64 over there a little sooner than mentioned here. I am very surprised to see 2 codes submitted for Anagrams already!

I have some mixed feelings about my code being submitted both honored and wishing I knew ahead of time so I could offer a better version.
http://www.thejoyfulprogrammer.com/qb64/forum/showthread.php?tid=1180&rndtime=15132740571330193114

I am of the opinion Steve's was clearly best but I wonder if he might of wanted to make some changes to it before it was submitted as well or was he asked first?

I do like the idea of a less biased 3rd party non participant make the decision, I would like it even better if it were a majority consensus of the community. APPEND: the idea or process I am trying to express is "peer reviewed".

I am very curious of Steve's thoughts ;)

Anything I share on the forums is completely free.  Free to use, modify, copy, ignore, and even share to other websites.  I ask for no credit and reserve no rights.  Folks are free to do whatever they want with it.  ;D

That being said, if somebody tells me they're going to post it elsewhere to help teach or promote the language, I'd take time to go in and comment sections and use more expressive variable names to help make the code easier for others to digest. 

Honestly though, I don't mind anything I write being shared.  If I did, I wouldn't have shared it to begin with.  :P



As for Rosetta Code, many of the challenges there have already been completed.  The game 2048 has been done by me and Felippe both.  Walter has a lovely drawn clock, and I have my "iPad watch".  There's the Poker Playhouse for finding poker hand matches (and even to play a game, if you want).  Sorting, Database stuff, CSV, word wrap, image capture...  Those are all challenges over at Rosetta Code, and all have been covered many times here on the forums. 

I think the real challenge would be to find a Rosetta Code challenge which we haven't already solved somewhere on the forums here.  ;)
5
QB64 Discussion / Re: Getting QB64 into the Rosetta Code
« Last post by bplus on December 14, 2017, 11:42:37 am »
Thanks Adrian for updating my Anagram code, now it serves as intro to Steve's!
6
Sample Programs / Re: Anagrams
« Last post by bplus on December 14, 2017, 11:25:58 am »
Yeah Steve, you have fans!
7
QB64 Discussion / Re: Getting QB64 into the Rosetta Code
« Last post by bplus on December 14, 2017, 11:12:12 am »
Ah youth! Got to love their energy and enthusiasm!

I don't know how many here follow what goes on at TJP forum or if Steve even knew we were talking Rosetta Code submissions representing QB64 over there a little sooner than mentioned here. I am very surprised to see 2 codes submitted for Anagrams already!

I have some mixed feelings about my code being submitted both honored and wishing I knew ahead of time so I could offer a better version.
http://www.thejoyfulprogrammer.com/qb64/forum/showthread.php?tid=1180&rndtime=15132740571330193114

I am of the opinion Steve's was clearly best but I wonder if he might of wanted to make some changes to it before it was submitted as well or was he asked first?

I do like the idea of a less biased 3rd party non participant make the decision, I would like it even better if it were a majority consensus of the community. APPEND: the idea or process I am trying to express is "peer reviewed".

I am very curious of Steve's thoughts ;)
8
Sample Programs / Re: Anagrams
« Last post by Adrian Huang on December 14, 2017, 06:02:09 am »
congrats! both your programs are now featured in Rosetta Code!
9
QB64 Discussion / Re: Getting QB64 into the Rosetta Code
« Last post by Adrian Huang on December 14, 2017, 05:23:33 am »
OK, QB64 Category page created in Rosetta Code, and also added a page for "Anagrams". http://rosettacode.org/wiki/Category:QB64
Please feel free to add more pages of code!

List of programming tasks:
http://rosettacode.org/wiki/Category:Solutions_by_Programming_Task

bplus, Steve, Fellippe, et al, take it away! :)
10
QB64 Discussion / Re: Getting QB64 into the Rosetta Code
« Last post by FellippeHeitor on December 14, 2017, 12:42:56 am »
Totally agree!  :)
Pages: [1] 2 3 ... 10