Tip: How to get your pathed program name
#1
Code: (Select All)
PathedProgram$ = Command$(0) 'or process commands sent
Print PathedProgram$
Reply
#2
Thanks, I have wanted this.
1) Is this new? (how long?)
2) It's not documented (in the Wiki).
Reply
#3
Dang for 4 minutes now been trying to post a reply, between new OS and new forum and new browser sheesh!

Anyway new QB64 wiki for Command$ https://qb64.dijkens.com/wiki/COMMAND$.html
does not mention this nor the newer _CommandCount

The example for _CommandCount:
Code: (Select All)
limit = _COMMANDCOUNT
FOR i = 1 TO limit
    PRINT COMMAND$(i)
NEXT

Oddly skips over 0

Maybe this should be included there?
Reply
#4
Friendly tip: https://qb64phoenix.com/qb64wiki/index.php/Main_Page -- try this for a new wiki.

The one you linked to is a read-only backup, though I hope it stays up. It's always a good idea to have something to fall back on! ?
Reply
#5
Thank you that seems to be working without a spinner, so better, re-bookmarked that site.
Reply
#6
@SMcNeill @bplus
1) I also had the read-only link.
2) Who do you want to have access to change the Wiki? I hit the "edit" tab and it looks like I <i>could</i> make changes. I would register before I did anything.
3) Is there somebody who checks changes? I would think <i>somebody</i> would want to check for consistency.
4) I would be willing to make changes, but I'm not prolific (like some of you).
Reply
#7
Quote:@SMcNeill @bplus
1) I also had the read-only link.
2) Who do you want to have access to change the Wiki? I hit the "edit" tab and it looks like I <i>could</i> make changes. I would register before I did anything.
3) Is there somebody who checks changes? I would think <i>somebody</i> would want to check for consistency.
4) I would be willing to make changes, but I'm not prolific (like some of you).



@dcromley  did you see whole board below dedicated to Wiki at this forum?
Reply
#8
I leave https://qb64.dijkens.com/wiki/ up and running
Maybe updating it every now and then (just ask)
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply




Users browsing this thread: 2 Guest(s)