Author Topic: QB64SOURCECODE.COM  (Read 14552 times)

0 Members and 1 Guest are viewing this topic.

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #45 on: April 24, 2020, 02:58:30 pm »
Hey, we're doing all of Terry's work for him. Where's that homework policy hiding? :D

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

FellippeHeitor

  • Guest
Re: QB64SOURCECODE.COM
« Reply #46 on: April 24, 2020, 03:06:42 pm »
🤣

Offline STxAxTIC

  • Library Staff
  • Forum Resident
  • Posts: 1091
  • he lives
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #47 on: April 24, 2020, 03:46:46 pm »
Who wants to predict:

Instr("", "")

?

Zero or one?
You're not done when it works, you're done when it's right.

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #48 on: April 24, 2020, 04:04:52 pm »
Nothing from nothing leaves nothing
You gotta have something
If you want to use QB
Nothing from nothing leaves nothing
You gotta have something
To make INSTR work for me
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #49 on: April 24, 2020, 04:36:21 pm »
Another interesting feature:
Code: QB64: [Select]
  1. FOR i = 0 TO 5
  2.     PRINT i, INSTR(i, "abcd", "")
  3.  

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #50 on: April 24, 2020, 07:17:11 pm »
Hi friends

I like your participation about INSTR qb's keyword
but I don't want to waste this thread of Terry so I have opened another thread to talk about this INSTR
https://www.qb64.org/forum/index.php?topic=2503.0
Programming isn't difficult, only it's  consuming time and coffee

Offline granzeier

  • Newbie
  • Posts: 8
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #51 on: April 25, 2020, 11:20:32 am »
Nothing from nothing leaves nothing
You gotta have something
If you want to use QB
Nothing from nothing leaves nothing
You gotta have something
To make INSTR work for me
I had completely forgotten that Billy Preston song. :)

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #52 on: April 25, 2020, 11:44:14 am »
I'm still plugging away on Task 13. I updated all the tasks with numerous spelling and typo error corrections I found. I use an old program called Kompozer to help create the pages. I just found a spell check feature buried deep in the options that can be turned on.
In order to understand recursion, one must first understand recursion.

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #53 on: April 25, 2020, 12:20:36 pm »
I've tried that one, but I like it's kissing cousin, Nvu, better: http://www.nvu.com/ Note, the link there is for a download at MajorGeeks.com, which I consider a trusted site.

I had no idea you were coding all this by hand. I've always used HTML editors. I don't need to, I know how to code in CSS/HTML, but it's just too monotonous and time consuming to do so by hand, plus, you don't have to memorize colors, especially color blends, etc. These days, hell, I write QB64 apps to build webpages using html templates. That worked great for all my golf coaching programs.

Anyway, glad you found an editor. It will make your life a lot easier, once you play around with it enough to get comfortable with quickly and easily using all the bells and whistles.

Pete
« Last Edit: April 25, 2020, 12:24:37 pm by Pete »
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #54 on: April 26, 2020, 07:22:44 pm »
Hi Pete
it seems that you are suggesting an older program (nvu) vs that Terry's using for now (Kompozer)
or at least it appears from the link that you have posted

Quote
KOMPOZER - NVU 1.0, released in June 2005, is the last official release that you will find at most download sites, however, it isn't the newest or best version of the Nvu software. An unofficial bugfix/update called "KompoZer" is available here. KompoZer is not a cure-all for all the bugs in NVU 1.0, but it does fix some of the major annoyances. If you use NVU 1.0 and it works for you, stick with it. But if you run into problems, give KompoZer a try and see if it helps.

Do you like kidding!
Programming isn't difficult, only it's  consuming time and coffee

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #55 on: April 26, 2020, 09:18:06 pm »
I have both. Nvu is older, but it's also better. Go figure.

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #56 on: April 26, 2020, 09:57:16 pm »
I posted this before but it disappeared.

Task 13 is finished and posted.
Added INSTR weirdness to Task 11.
Updated Task 2 concerinng run time EXE.

Working on Task 14.
In order to understand recursion, one must first understand recursion.

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #57 on: April 28, 2020, 12:18:03 pm »
Task 14 posted. Working on Task 15.
In order to understand recursion, one must first understand recursion.

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #58 on: April 28, 2020, 07:51:58 pm »
Hey Terry
it sounds good! Not like a simple BEEP!
Programming isn't difficult, only it's  consuming time and coffee

Offline TerryRitchie

  • Seasoned Forum Regular
  • Posts: 495
  • Semper Fidelis
    • View Profile
Re: QB64SOURCECODE.COM
« Reply #59 on: April 28, 2020, 09:42:24 pm »
I have both. Nvu is older, but it's also better. Go figure.

Pete

@Pete, why do you find Nvu better? From what I read Kompozer fixed many of the bugs that were present in Nvu. I've not tried Nvu but if there is some compelling reason to use it over Kompozer I'm all ears.
In order to understand recursion, one must first understand recursion.