Search found 41 matches
- Jan 10, 2016 19:29
- Forum: Libraries Questions
- Topic: BASS Won't Load on 32bit Linux
- Replies: 3
- Views: 1698
Re: BASS Won't Load on 32bit Linux
Wow. Now I just feel embarrassed. Thanks!
- Jan 10, 2016 16:01
- Forum: Libraries Questions
- Topic: BASS Won't Load on 32bit Linux
- Replies: 3
- Views: 1698
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...
- Aug 19, 2015 21:33
- Forum: General
- Topic: Icon not showing
- Replies: 4
- Views: 1441
Icon not showing
I made a program called SpaceAttack! , and my .rc file is as goes. 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 "StringFileInfo" BEGIN BLOCK "040904E4" BEGIN VALUE &q...
- Jul 28, 2015 19:32
- Forum: General
- Topic: Binary text translation
- Replies: 1
- Views: 1817
Binary text translation
I have a program that will translate text to binary and vice versa. #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 "Binary: " , InText Dim As...
- Jul 18, 2015 3:10
- Forum: General
- Topic: How to run a program in a new window
- Replies: 3
- Views: 920
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?
- Jun 23, 2015 1:13
- Forum: Sources, Examples, Tips and Tricks
- Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
- Replies: 110
- Views: 41428
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.
- May 31, 2015 23:33
- Forum: General
- Topic: Brute Force Loop
- Replies: 3
- Views: 1407
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.
It needs to go through the loop because after going through 1 set, it needs to go through 2 characters.
- May 31, 2015 15:48
- Forum: General
- Topic: Brute Force Loop
- Replies: 3
- Views: 1407
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...
- May 02, 2015 15:28
- Forum: Beginners
- Topic: How do you make the line animate forward/backward?
- Replies: 19
- Views: 3534
Re: How do you make the line animate forward/backward?
Well, there's this. #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) - (x + 30, 30), 65535, BF if x = 50 ...
- May 02, 2015 14:50
- Forum: Community Discussion
- Topic: BBCode FileNames
- Replies: 0
- Views: 867
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: 'There is no code here on purpose The need for typing the filename on top disappears. You can simple click "Download", and you will get the...
- Apr 11, 2015 19:37
- Forum: Community Discussion
- Topic: Hex Examples
- Replies: 3
- Views: 1100
Re: Hex Examples
Original, I guess, but it's super long. Another long one would be &hF12EEBA51Cdkl wrote:I've used lots of &hAABBCCDD11223344ull in test cases. Very original, isn't it.
(Twelve would be "R".)
- Apr 11, 2015 19:33
- Forum: General
- Topic: How to get Hexadecimal to Decimal?
- Replies: 11
- Views: 2506
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...
- Apr 11, 2015 2:06
- Forum: Community Discussion
- Topic: Hex Examples
- Replies: 3
- Views: 1100
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?
I thought maybe DEDEDE, you know, from Kirby?
- Apr 11, 2015 2:04
- Forum: General
- Topic: How to get Hexadecimal to Decimal?
- Replies: 11
- Views: 2506
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.
That's why I'm a newb.
BTW, I think it's hilarious how we use DEADBEEF for hex examples.
I do understand, though.
- Apr 11, 2015 1:55
- Forum: General
- Topic: How to get Hexadecimal to Decimal?
- Replies: 11
- Views: 2506
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.
&h doesn't work with variables, which is the main reason I need it.