[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2009-07-20T18:38:06-05:00 http://petesqbsite.com/phpBB3/app.php/feed/topic/2979 2009-07-20T18:38:06-05:00 2009-07-20T18:38:06-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19579#p19579 <![CDATA[Share some batch files!]]> Statistics: Posted by burger2227 — Mon Jul 20, 2009 6:38 pm


]]>
2009-07-20T17:49:44-05:00 2009-07-20T17:49:44-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19577#p19577 <![CDATA[Share some batch files!]]> You're right, but in my defense, most of the programming and scripting stuff I do is really "just because". I'm still tinkering with QB even though there are a hundred better options. My laptop has some issues with the QB IDE's menus and the IDE also doesn't like the touchpad, so I use a different text editor a lot of the time. I could probably insert SUBs all day long in the QB environment on another computer, but for now this BAT is the shizz. I did make a couple QB tools that are EXEs. One is made with QB and the other with VB6, but if a quick BAT will do the job, that's probably what I'll use. I like the BATs and I like QB. If I were into newer, "easier" stuff I'd probably be on a different website.

Statistics: Posted by jasbales — Mon Jul 20, 2009 5:49 pm


]]>
2009-07-20T17:10:21-05:00 2009-07-20T17:10:21-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19576#p19576 <![CDATA[Share some batch files!]]> QB makes it easy to create SUB programs already!

I used BATs a lot in Win 3.1, but later decided I'd rather really program.

I guess it is still fun to try it the hard way.......

Statistics: Posted by burger2227 — Mon Jul 20, 2009 5:10 pm


]]>
2009-07-20T12:04:08-05:00 2009-07-20T12:04:08-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19575#p19575 <![CDATA[Share some batch files!]]>
PN is here:
http://www.pnotepad.org/

and the other tutorials are in PDF here:
http://sites.google.com/site/qb45lives/ ... -tutorials

Statistics: Posted by jasbales — Mon Jul 20, 2009 12:04 pm


]]>
2009-07-20T10:39:23-05:00 2009-07-20T10:39:23-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19572#p19572 <![CDATA[Share some batch files!]]>
I have a batch file I use to insert SUBs and FUNCTIONs into code as I work on it in Programmer's Notepad.
That's a good idea! :) BTW, where can I download PN?

Statistics: Posted by Harry Potter — Mon Jul 20, 2009 10:39 am


]]>
2009-07-19T04:48:22-05:00 2009-07-19T04:48:22-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19571#p19571 <![CDATA[Share some batch files!]]>
I have a batch file I use to insert SUBs and FUNCTIONs into code as I work on it in Programmer's Notepad. Here's the code for the BATCH

Code:

@ECHO OFF:About::      O--------------------------------------------------------------O::      |subShop.bat helps you create QB SUBs and FUNCTIONs in Crimson |::      |           Editor. Pass in your source file as %1.            |::      |                                                              |::      |            This file was created by Jason Bales              |::      |                   gamerplusplus@gmail.com                    |::      |                 http://gamerpp.blogspot.com/                 |::      O--------------------------------------------------------------OCLSSETLOCALPROMPTCOLOR 47TITLE WELCOME TO THE SUB SHOP!!:: Are we to make a Sub or a Function?SET /p subOrFunction="Are we to make a Sub or a Function?: "CLS:: What is the name of the Sub or Function?SET /p name="What will we call it?: "CLS:: What are we passing in?SET /p parameters="What are we passing in?: ":: Simple choiceIF %subOrFunction% == SUB GOTO SUBIF %subOrFunction% == sub GOTO SUBIF %subOrFunction% == Sub GOTO SUBIF %subOrFunction% == SUb GOTO SUBIF %subOrFunction% == suB GOTO SUBIF %subOrFunction% == sUB GOTO SUBIF %subOrFunction% == sUb GOTO SUBREM Notice you only need to type SUB if you want a SUB.REM Any other input creates a FUNCTION.:: Write a FUNCTION> SCRATCH.TXT ECHO DECLARE FUNCTION %name% (%parameters%)>>SCRATCH.TXT TYPE %1>>SCRATCH.TXT ECHO.>>SCRATCH.TXT ECHO ' ____________________>>SCRATCH.TXT ECHO FUNCTION %name% (%parameters%)>>SCRATCH.TXT ECHO    ' Write your code here>>SCRATCH.TXT ECHO %name% = ' Make sure the function returns something>>SCRATCH.TXT ECHO END FUNCTION> %1 TYPE SCRATCH.TXTGOTO FIN:: Write a SUB:SUB> SCRATCH.TXT ECHO DECLARE SUB %name% (%parameters%)>>SCRATCH.TXT TYPE %1>>SCRATCH.TXT ECHO.>>SCRATCH.TXT ECHO ' ____________________>>SCRATCH.TXT ECHO SUB %name% (%parameters%)>>SCRATCH.TXT ECHO    ' Write your code here>>SCRATCH.TXT ECHO END SUB> %1 TYPE SCRATCH.TXT:FINDEL SCRATCH.TXTENDLOCAL
I use this file along with a PN tool like I describe in this article:
http://gamerpp.blogspot.com/2009/07/add ... in-pn.html

If you see something that could be improved, please let me know.

Statistics: Posted by jasbales — Sun Jul 19, 2009 4:48 am


]]>
2009-06-21T05:32:09-05:00 2009-06-21T05:32:09-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19323#p19323 <![CDATA[Share some batch files!]]>
SHELL("DIR > FileDir.txt")

Statistics: Posted by Guest — Sun Jun 21, 2009 5:32 am


]]>
2009-06-17T11:20:09-05:00 2009-06-17T11:20:09-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19313#p19313 <![CDATA[Email search script]]>
I find script http://www.biterscripting.com/SS_FindEmailStrs.html useful. I can search all my emails for one, two, or more, keywords, phrases, from/to, etc.

Richard

Statistics: Posted by RichardWilliams — Wed Jun 17, 2009 11:20 am


]]>
2009-06-11T06:45:31-05:00 2009-06-11T06:45:31-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19301#p19301 <![CDATA[Share some batch files!]]> I've never tried making games with batch files!

qbasicfreak

Statistics: Posted by qbasicfreak — Thu Jun 11, 2009 6:45 am


]]>
2009-06-11T00:38:50-05:00 2009-06-11T00:38:50-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19300#p19300 <![CDATA[Share some batch files!]]> Statistics: Posted by bongomeno — Thu Jun 11, 2009 12:38 am


]]>
2009-06-09T16:01:19-05:00 2009-06-09T16:01:19-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19299#p19299 <![CDATA[Share some batch files!]]>
http://www.geocities.com/sitenixon/textad.zip

Statistics: Posted by Guest — Tue Jun 09, 2009 4:01 pm


]]>
2009-06-09T11:57:57-05:00 2009-06-09T11:57:57-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19298#p19298 <![CDATA[Share some batch files!]]>

Code:

@echo offfor %%i in (*.zzz) do set p=%%~ni.zippkzip -ex -r -p a:\%p% *.bas *.frm *.bat *.lib *.qlb *.makset p=

Statistics: Posted by Harry Potter — Tue Jun 09, 2009 11:57 am


]]>
2009-06-09T11:46:33-05:00 2009-06-09T11:46:33-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=19297#p19297 <![CDATA[Share some batch files!]]>

Code:

@echo offmd d:\%1cd d:\%1d:pkunzip -d c:\ramd\%1.zip%1d:cd\echo y|deltree %1
Try it out! I will add more batch files later.

Statistics: Posted by Harry Potter — Tue Jun 09, 2009 11:46 am


]]>