Search found 5 matches
- Sun Nov 09, 2008 6:43 am
- Forum: QBasic / QuickBasic related
- Topic: TIME$
- Replies: 7
- Views: 3178
Here is the program I just wrote that splits time very nicely into three parts and puts them into an array... DECLARE SUB gorp () DIM SHARED array(2) AS STRING * 2 CALL gorp PRINT array(0) PRINT array(1) PRINT array(2) ------ this part here gets created as a SUBROUTINE call: SUB gorp SHARED array() ...
- Thu Aug 07, 2008 11:38 am
- Forum: QBasic / QuickBasic related
- Topic: posting / uploading programs
- Replies: 1
- Views: 1769
posting / uploading programs
Unfortunately I have now way of creating a link to a program that is on a webpage , as I cant seem to get my webpage working correctly is there any way I can post /upload a file to this forum?? will you ever host files directly?? I have this program I have had for a long long time that I wrote sever...
- Thu Aug 07, 2008 11:09 am
- Forum: QBasic / QuickBasic related
- Topic: converting decimal to HH:MM:SS?
- Replies: 5
- Views: 2464
this is assuming you are using seconds as the input or such.. here is another way: create a blank string (empty ) to hold the desired output : tim$ like this tim$="" split the number into separate parts: hour%=seconds%/3600 min% = (seconds% mod 60)/60 sec =seconds% mod 60 then convert each to string...
- Thu Aug 07, 2008 10:59 am
- Forum: QBasic / QuickBasic related
- Topic: Hexadecimal Routines for QBasic
- Replies: 6
- Views: 5688
I have just recently made a pair of programs that allows you to convert any data or file form Binary mode ascii to hexadecimal and back (with no formating or spaces etc..) I have tested it fully and it works I don't know if this applies to the question at hand... if you are interested Email me at dr...
- Wed Jul 30, 2008 7:26 pm
- Forum: QBasic / QuickBasic related
- Topic: TIME$
- Replies: 7
- Views: 3178
Splitting time$ into three parts...
or.... Why not simply use Mid$??? You can get all three parts just using that one alone and better yet you can do it in a loop... and place the output into an array of strings, in one easy step... the advantage?? the whole set of related time sets of characters are neatly sored away into a single ob...