Search found 126 matches

by segin
Jan 09, 2011 11:25
Forum: Projects
Topic: netmsg version 1.0 (Networked chat program)
Replies: 15
Views: 12201

I would use BASE64 encoding for sending chunks of files. I'd agree, if we were living in 1980-something, and 7-bit machines hadn't been melted down to make Core 2 Duos. As it is, we live in an era where virtually everything uses 8-bit bytes and is binary-safe. Finally, why are you replying to a thr...
by segin
Nov 21, 2010 3:58
Forum: Libraries & Headers
Topic: libpcah - A string-keyed array library.
Replies: 3
Views: 1804

True, but libpcah is designed to by language-agnostic in it's interface, and the the lingua franca of compiled code is the C ABI, that's what I'm gunning for here. Note the included C header.
by segin
Nov 21, 2010 3:03
Forum: Libraries & Headers
Topic: libpcah - A string-keyed array library.
Replies: 3
Views: 1804

libpcah - A string-keyed array library.

libpcah is a library to allow you to use strings to address array elements instead of integer index. The name "pcah" no longer has any real meaning, the original meaning implies the library does something I just learned that it does not do. I was a little lacking in the programming concept...
by segin
Nov 17, 2010 3:51
Forum: Linux
Topic: FreeBASIC for FreeBSD: How many of you are interested
Replies: 9
Views: 4184

If someone ever decided to port to OS/2, you would also be best to have a "generic DOS" part of the RTL, since Windows, DOS, and OS/2 have a lot of common behaviours in e.g. filesystem design.
by segin
Nov 08, 2010 4:21
Forum: Projects
Topic: C++ FBSTRING implementation
Replies: 5
Views: 2818

yetisoft pointed me to an implementation of the FBSTRING struct in C++ that would make a good starting point for this project.

Check around for his 'tinybasic' project, it's on the forums somewhere.

Specifically, this is the implementation in question: http://pastebin.com/raw.php?i=j5d3bHp7
by segin
Nov 07, 2010 19:55
Forum: Projects
Topic: C++ FBSTRING implementation
Replies: 5
Views: 2818

. With some work, this can probably also be extended to Java code compiled by the GNU Compiler for Java. (one of the problems for that will probably be BY REF parameters of valuetypes ) This is mentioned mostly as a possibility, since gcj compiles to the same ABI as the g++, and allows intermixing ...
by segin
Nov 07, 2010 17:38
Forum: Projects
Topic: C++ FBSTRING implementation
Replies: 5
Views: 2818

C++ FBSTRING implementation

I am working on a C++ implementation of FreeBASIC's first class String type. The FreeBASIC compiler, when using OOP features, mangles symbols to the Itanium C++ ABI, which is the same C++ ABI used by gcc 3.4 and later (on all architectures, not just Itanium), as well as Intel C++ Compiler on Linux (...
by segin
Jul 13, 2010 22:06
Forum: Projects
Topic: FireFly Visual Designer for FreeBASIC (Updated March 8, 2016)
Replies: 371
Views: 149949

Sorry for the late reply... I've been on vacation. Here's the code example to draw on a form (which some color options too) Dim As Integer xleft, ytop, wd, ht xleft = 50 ytop = 50 wd = 400 ht = 200 Dim hDC As HDC ' Dim hPen As hpen hDC = GetDC( hWndForm ) Rectangle hDC, xleft, ytop, xleft+wd, ytop+...
by segin
Jul 11, 2010 19:45
Forum: Community Discussion
Topic: Building a first class freebasic community
Replies: 33
Views: 7048

Re: Yes

Yes segin i agree....for those who are total I have no intention in driving droves of 10 year old kids to this website or to a "beginners to free basic website or forum" so i hope that puts your mind at rest Except your inconsistent boldface, liberal usage of double-spaced text, etc. give...
by segin
Jul 11, 2010 16:41
Forum: Community Discussion
Topic: Building a first class freebasic community
Replies: 33
Views: 7048

Re: I agree

And a newbie forum & website No. Just, no. Just don't deal with n00bs. PERIOD. Tell them to take a hike, for all it's worth. I'm not saying "n00bs to FB" but "n00bs to programming". It seems most of the n00bs here are both. "n00bs to FB" aren't n00bs at all if they...
by segin
Jul 11, 2010 16:25
Forum: Libraries & Headers
Topic: Updated and New Library Headers
Replies: 6
Views: 2353

Re: Updated and New Library Headers

I started this project awhile back after translating a couple headers for some people. I'm looking for help with the massive translation efforts. I have headers for several new libraries translated already and W.I.P. versions of some already existing headers (GTK, glib, pango, etc). I am going to b...
by segin
Jul 11, 2010 16:20
Forum: Community Discussion
Topic: Some general remarks on FreeBasic
Replies: 45
Views: 14632

@McLovin That's not true. I've already delivered some contributions to FreeBasic (see some of my previous postings, e.g. bindings & examples for a PDF library, a plotting library and a glade converter for FreeBasic). What I want to make clear is the following: some people have already done the ...
by segin
Jul 11, 2010 16:10
Forum: Community Discussion
Topic: Types containing dynamic arrays
Replies: 15
Views: 3633

I've managed dynamic arrays in UDTs by using properties. It doesn't need any pointer arithmetic for usage at all. As you can see here. That is not exactly this, and therefore doesn't count: Type Foo m_array() As Integer End Type And have that there do exactly what a dynamic array outside a struct w...
by segin
Jul 11, 2010 16:04
Forum: Community Discussion
Topic: Our Contribution to FreeBasic
Replies: 27
Views: 3613

And why is there no link to the official FB web page and forums? This is another case of a clueless n00b with extremely far reaching goals that have little to no chance of ever being met. The kinds of goals that forum and site are aiming for are things I wouldn't expect anyone with less than 5-10 y...
by segin
Jul 11, 2010 15:57
Forum: Community Discussion
Topic: Building a first class freebasic community
Replies: 33
Views: 7048

Some good ideas there, which ones are you going to work on? ;-) the most Important one......that is getting the right LONG TERM Vision I think a vision that shuts out n00bs and appeals to experienced and veteran programmers is best. That way, there's no idiots asking stupid questions that have alre...