Search found 41 matches

by BobPaw
Jan 10, 2016 19:29
Forum: Libraries
Topic: BASS Won't Load on 32bit Linux
Replies: 3
Views: 690

Re: BASS Won't Load on 32bit Linux

Wow. Now I just feel embarrassed. Thanks!
by BobPaw
Jan 10, 2016 16:01
Forum: Libraries
Topic: BASS Won't Load on 32bit Linux
Replies: 3
Views: 690

BASS Won't Load on 32bit Linux

I downloaded BASS24 for Linux from un4seen.com and copied the 32bit libbass.so into the same folder as my source code and music. Here's my code: #include "bass.bi" BASS_Init(-1, 44100, 0, 0, 0) dim as HSTREAM connected = BASS_StreamCreateFile(0, strptr("connected.mp3"), 0, 0, BAS...
by BobPaw
Aug 19, 2015 21:33
Forum: General
Topic: Icon not showing
Replies: 4
Views: 853

Icon not showing

I made a program called [url=fb-spaceattack.sourceforge.net] SpaceAttack! [/url], and my .rc file is as goes. [code file=version.rc:1qydefiq] ICON "spaceattackicon.ico" VS_VERSION_INFO VERSIONINFO FILEVERSION 4,2,3,3 PRODUCTVERSION 4,4,3,4 FILEOS VOS__WINDOWS32 FILETYPE VFT_APP BEGIN BLOCK...
by BobPaw
Jul 28, 2015 19:32
Forum: General
Topic: Binary text translation
Replies: 1
Views: 818

Binary text translation

I have a program that will translate text to binary and vice versa. [code file=binary.bas:2ixduat0] #include "protection.bi" Dim As String InText Dim As String choice try: Input "Text to Binary or Binary to Text [bt|tb]?" , choice If Ucase(choice) = "BT" Then Input &quo...
by BobPaw
Jul 18, 2015 3:10
Forum: General
Topic: How to run a program in a new window
Replies: 3
Views: 327

How to run a program in a new window

How would I run a program in a new window, creating a new process, and delivering control to both programs?
by BobPaw
Jun 23, 2015 1:13
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 70
Views: 12185

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Examples for sending across localhost, wireless lan, and lan would be helpful. I can't seem to send text, though.
by BobPaw
May 31, 2015 23:33
Forum: General
Topic: Brute Force Loop
Replies: 3
Views: 639

Re: Brute Force Loop

I understand what you mean, I was extremely confused at first.
It needs to go through the loop because after going through 1 set, it needs to go through 2 characters.
by BobPaw
May 31, 2015 15:48
Forum: General
Topic: Brute Force Loop
Replies: 3
Views: 639

Brute Force Loop

I have tried to make a brute force loop that will go through all symbols or letters and PRINT them, here is my attempt: Dim As String buffer Dim As Integer a Do a += 1 For b As Integer = 1 To a buffer = "" For i As Integer = 32 To 126 Cls buffer &= chr(i) Print "Folder: " &am...
by BobPaw
May 02, 2015 15:28
Forum: Beginners
Topic: How do you make the line animate forward/backward?
Replies: 19
Views: 1905

Re: How do you make the line animate forward/backward?

Well, there's this. [code file=loadingbar.bas:3mczlqh0] #define fbc -s gui ScreenRes 400, 300, 32 windowtitle "Loading..." dim as integer x = 49 dim as integer change = 1 dim as integer max = 200 dim as single speed = 5 do cls x = x + change line (48, 18) - (max + 2, 32), , B line (x, 20) ...
by BobPaw
May 02, 2015 14:50
Forum: Community Discussion
Topic: BBCode FileNames
Replies: 0
Views: 556

BBCode FileNames

I've noticed that everyone always does this: file.bas 'some code But, by typing inside of the "code" tag "file=file.bas", like so: [code file=file.bas:1yavu9cb] 'There is no code here on purpose The need for typing the filename on top disappears. You can simple click "Downlo...
by BobPaw
Apr 11, 2015 19:37
Forum: Community Discussion
Topic: Hex Examples
Replies: 3
Views: 592

Re: Hex Examples

dkl wrote:I've used lots of &hAABBCCDD11223344ull in test cases. Very original, isn't it.

Original, I guess, but it's super long. Another long one would be &hF12EEBA51C
(Twelve would be "R".)
by BobPaw
Apr 11, 2015 19:33
Forum: General
Topic: How to get Hexadecimal to Decimal?
Replies: 11
Views: 1317

Re: How to get Hexadecimal to Decimal?

Oops I missed bin() and &b somehow. I remember looking for it some time back in the docs, but must not have looked very hard. Good call on the cint() vs val()! I think adding leading 0 support for literals and also val(), cint(), and friends would be a good idea. Can't see that break existing c...
by BobPaw
Apr 11, 2015 2:06
Forum: Community Discussion
Topic: Hex Examples
Replies: 3
Views: 592

Hex Examples

Everyone (I think) uses DEADBEEF for an example. What others do people use, if any?
I thought maybe DEDEDE, you know, from Kirby?
by BobPaw
Apr 11, 2015 2:04
Forum: General
Topic: How to get Hexadecimal to Decimal?
Replies: 11
Views: 1317

Re: How to get Hexadecimal to Decimal?

Thanks.
That's why I'm a newb.
BTW, I think it's hilarious how we use DEADBEEF for hex examples.
I do understand, though.
by BobPaw
Apr 11, 2015 1:55
Forum: General
Topic: How to get Hexadecimal to Decimal?
Replies: 11
Views: 1317

How to get Hexadecimal to Decimal?

I can use HEX(10) to get the Hex form, but how would I get the decimal form?
&h doesn't work with variables, which is the main reason I need it.

Go to advanced search