PowerBASIC Peer Support Forums
 

Go Back   PowerBASIC Peer Support Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.07 seconds.
Search: Posts Made By: Mike Doty
Forum: Programming Sep 15th, 2014, 01:53 PM
Replies: 20
Views: 784
Posted By Mike Doty
<pre> Text file </pre> ...

<pre>
Text file
</pre>

http://www.w3schools.com/tags/tag_pre.asp
Forum: Programming Sep 13th, 2014, 03:35 PM
Replies: 20
Views: 784
Posted By Mike Doty
Pass undimensioned array, return dimensioned and...

Pass undimensioned array, return dimensioned and a string.

FUNCTION PBMAIN () AS LONG
LOCAL sArray() AS STRING
MSGBOX Receiver(sArray()),,"UBOUND" + STR$(UBOUND(sArray))
END FUNCTION
'...
Forum: Programming Sep 13th, 2014, 03:02 PM
Replies: 20
Views: 784
Posted By Mike Doty
This returns the array resized with new values...

This returns the array resized with new values and a return string.

#DIM ALL
'
FUNCTION PBMAIN () AS LONG
DIM sArray(20) AS STRING, s AS STRING, x AS LONG
FOR x = LBOUND(sArray) TO...
Forum: Cafe PowerBASIC Sep 12th, 2014, 08:43 AM
Replies: 8
Views: 265
Posted By Mike Doty
http://www.speedtest.net Are you sure you are...

http://www.speedtest.net
Are you sure you are only getting 256 kbps?
That would be a tremendous speed increase.

I'm getting 116,000 kbps and it is a far cry from 1 gig.
Forum: Programming Sep 12th, 2014, 08:33 AM
Replies: 20
Views: 784
Posted By Mike Doty
%TableBorder is not at the top of the source...

%TableBorder is not at the top of the source code, remarked or the name got changed?

#DIM ALL 'createhtml
#INCLUDE "win32api.inc"
%TableBorder=1...
Forum: Programming Sep 11th, 2014, 12:29 PM
Replies: 20
Views: 784
Posted By Mike Doty
'Array bounds check did not consider negative...

'Array bounds check did not consider negative array elements.
Thank you, Gary Beene gbs_00063
IF UBOUND(sNew) - LBOUND(sNew) = -1 THEN
? "Empty array passed",,FUNCNAME$
EXIT FUNCTION...
Forum: Programming Sep 11th, 2014, 07:33 AM
Replies: 20
Views: 784
Posted By Mike Doty
I agree with George using html. #DIM ALL ...

I agree with George using html.


#DIM ALL 'createhtml
#INCLUDE "win32api.inc"
%TableBorder=1
'------------------------------------------------------------------------------------...
Forum: PowerBASIC Console Compiler Sep 10th, 2014, 05:27 PM
Replies: 18
Views: 872
Posted By Mike Doty
DDOC creates its own files in a .DDC format. ...

DDOC creates its own files in a .DDC format.
Is someone trying to print a PDF using DDOC?
Forum: PowerBASIC for Windows Sep 8th, 2014, 10:55 PM
Replies: 14
Views: 196
Posted By Mike Doty
Seems very similar to a port scanner other than...

Seems very similar to a port scanner other than just looking at port 80 at different hosts.
http://www.powerbasic.com/support/pbforums/showthread.php?t=23021

There is also posted code on fast...
Forum: PowerBASIC Console Compiler Sep 8th, 2014, 08:13 PM
Replies: 18
Views: 872
Posted By Mike Doty
Try this from a command prompt (no response will...

Try this from a command prompt (no response will be returned)
ddoc -install

Not sure what DDOC has to do with CutePDF or PrimoPDFf?

As for a Zebra printer. If that is like a dymo labelwriter...
Forum: Programming Sep 6th, 2014, 12:21 PM
Replies: 22
Views: 1,042
Posted By Mike Doty
I search for information before starting a new...

I search for information before starting a new thread.

FUNCTION GetCpu AS LONG
LOCAL x AS LONG
!mov eax,1
!cpuid
!mov x,eax
FUNCTION = x
END FUNCTION
Forum: Programming Sep 6th, 2014, 07:51 AM
Replies: 22
Views: 1,042
Posted By Mike Doty
#DIM ALL 'SaveCPU.bas $CPU_FILE =...

#DIM ALL 'SaveCPU.bas
$CPU_FILE = "CPU_FILE_FOUR_BYTES_HIDDEN_LOCATION"
'
FUNCTION PBMAIN
IF SAME_CPU_CHECK THEN
? "CPU same"
ELSE
? "CPU different",%MB_ICONERROR
END IF
END...
Forum: PowerBASIC for Windows Sep 2nd, 2014, 09:22 AM
Replies: 12
Views: 414
Posted By Mike Doty
He reported it long ago. Fixed? ...

He reported it long ago. Fixed?
http://www.powerbasic.com/support/pbforums/showthread.php?t=49555
Forum: PowerBASIC Inline Assembler Sep 2nd, 2014, 08:53 AM
Replies: 6
Views: 1,114
Posted By Mike Doty
Are some cipher keys invalid? s = CHR$(1 to...

Are some cipher keys invalid?
s = CHR$(1 to 16)
s = string$(16,"A")
These wouldn't be used, but is there a way to assure one won't be bad?
Forum: PBWin Online Help and Commentary Sep 1st, 2014, 04:29 AM
Replies: 2
Views: 198
Posted By Mike Doty
How do I get to Bookmark Dialog? CTRL+B or Edit...

How do I get to Bookmark Dialog?
CTRL+B or Edit and select BookMark option

How do I set/unset a BookMark?
ALT+1 through ALT+9

How do I go to a BookMark?
CTRL+1 through CTRL+9

See Editor...
Forum: PowerBASIC for Windows Aug 29th, 2014, 11:46 PM
Replies: 12
Views: 414
Posted By Mike Doty
Michael: Missing DeleteCriticalSection CS in your...

Michael: Missing DeleteCriticalSection CS in your pseudocode.

Here is a template that may be useful

#DIM ALL 'critical.bas (template)
#INCLUDE "win32api.inc"...
Forum: PowerBASIC for Windows Aug 29th, 2014, 04:24 PM
Replies: 12
Views: 414
Posted By Mike Doty
Updates log from multiple threads based upon...

Updates log from multiple threads based upon times.

#PBFORMS CREATED V2.01
#COMPILE EXE
#DIM ALL
'------------------------------------------------------------------------------...
Forum: PowerBASIC for Windows Aug 28th, 2014, 06:13 PM
Replies: 13
Views: 777
Posted By Mike Doty
No dynamic example. This passes variant arrays.

'PowerBASIC code creating variant arrays to pass to VB6
#COMPILE DLL 'pb2vb.bas
#DIM ALL 'Send 1 and 2 dimensional variant array to VB6...
Forum: PowerBASIC for Windows Aug 28th, 2014, 01:23 PM
Replies: 13
Views: 777
Posted By Mike Doty
I appreciate bringing up using a variant which I...

I appreciate bringing up using a variant which I have never used.

Not having much luck with VB6, but found this Gary Beene example
that looks like what I want. It is passing the data the...
Forum: PowerBASIC for Windows Aug 28th, 2014, 12:29 PM
Replies: 13
Views: 777
Posted By Mike Doty
Your earlier suggestion was to use Syncsort or...

Your earlier suggestion was to use Syncsort or pass a file.

Michael M,
Have you ever passed a variant string or array to VB6?

Here is an attempt that does not return anything in VB6.


...
Forum: PowerBASIC for Windows Aug 21st, 2014, 06:12 AM
Replies: 14
Views: 574
Posted By Mike Doty
Glad to help. I like post #11 with...

Glad to help.

I like post #11 with absolute array method the best since any number
of elements can be passed to a thread and just use the elements without
the need to use pointers or...
Forum: Cafe PowerBASIC Aug 16th, 2014, 09:44 AM
Replies: 1
Views: 259
Posted By Mike Doty
K0901 and k0902 You made google: ...

K0901 and k0902

You made google:

...
Forum: Programming Aug 11th, 2014, 10:03 AM
Replies: 18
Views: 1,292
Posted By Mike Doty
More examples passing array addresses to another...

More examples passing array addresses to another thread without needing a UDT.
http://www.powerbasic.com/support/pbforums/showthread.php?t=55404
Forum: PowerBASIC for Windows Aug 11th, 2014, 09:54 AM
Replies: 14
Views: 574
Posted By Mike Doty
This uses DIM AT to sort array allocated in...

This uses DIM AT to sort array allocated in PBMAIN in another thread.

#DIM ALL
#INCLUDE "win32api.inc"
'
FUNCTION PBMAIN () AS LONG 'WorkerDimAt.bas
LOCAL p AS STRING PTR
LOCAL hThread...
Forum: PowerBASIC for Windows Aug 10th, 2014, 11:42 PM
Replies: 14
Views: 574
Posted By Mike Doty
Similar question was asked years ago. ...

Similar question was asked years ago.
http://www.powerbasic.com/support/pbforums/showthread.php?t=48237
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 10:39 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1999-2011 PowerBASIC, Inc. All Rights Reserved.
Error in my_thread_global_end(): 1 threads didn't exit