Search found 603 matches

by VirusScanner
May 10, 2007 23:05
Forum: General
Topic: Small bug - @(proc)
Replies: 3
Views: 1363

I think it tries to evaluate what's in the parenthesis before looking at the @, which causes the problem. However, I don't remember whether it did or didn't use to work.
by VirusScanner
Apr 11, 2007 1:44
Forum: General
Topic: -Lang Error
Replies: 5
Views: 1553

You need a CVS build. It is in the current .17, but not in the official beta release from months ago.
by VirusScanner
Dec 20, 2006 22:53
Forum: General
Topic: THIS not a pointer?
Replies: 3
Views: 1211

I see, I thought it was like C++. It works now. Thanks.
by VirusScanner
Dec 20, 2006 20:27
Forum: General
Topic: THIS not a pointer?
Replies: 3
Views: 1211

THIS not a pointer?

I keep getting errors when I try to use a statement like
*this = xx (operator let)
or
this->xx = yy

They say "expected pointer". Is THIS not a pointer or am I doing something wrong?
by VirusScanner
Dec 10, 2006 19:08
Forum: Tips and Tricks
Topic: Easy unions.
Replies: 1
Views: 1223

If you have the CVS version, try overloaded properties. That would make it even easier.
by VirusScanner
Nov 30, 2006 22:16
Forum: General
Topic: Weird problems
Replies: 3
Views: 1226

I've changed it to use C file functions, and now it works fine. Thanks for the help.
by VirusScanner
Nov 30, 2006 4:46
Forum: General
Topic: Weird problems
Replies: 3
Views: 1226

Weird problems

After getting new and delete to work in a simple program, I tried to convert a filereader class I had written. The result was this: #ifndef FILEREADER_BI #define FILEREADER_BI type FileReader private: fileno as integer posi as uinteger flen as uinteger buf1 as zstring * 1024 buf2 as zstring * 1024 d...
by VirusScanner
Nov 30, 2006 0:12
Forum: General
Topic: -lsupcxx
Replies: 21
Views: 4273

Cool, it's working now. Thanks. I had mingw v3.4.2
by VirusScanner
Nov 29, 2006 15:20
Forum: General
Topic: -lsupcxx
Replies: 21
Views: 4273

-lsupcxx

After updating the CVS, fbc (or LD) complains that it can't find -lsupcxx whenever I try to compile anything. I tried putting my mingw's libsupc++.a file in the fb libs directory, but then it just complains about _Unwind_SjLj_Resume_or_Rethrow.

Is there something I can do to fix this problem?
by VirusScanner
Oct 27, 2006 4:17
Forum: Beginners
Topic: pointers to structures?
Replies: 4
Views: 1497

The * operator takes an expression, not a variable. You're looking for ->.

print LibsObj->X
'' This also works (is the same), but is somewhat clumsy:
print (*LibsObj).X
by VirusScanner
Oct 07, 2006 0:15
Forum: Beginners
Topic: Very Strange Behaviour of FB?? (Solved)
Replies: 5
Views: 1216

OPTIONs aren't supported in .17, explicit is on by default (you can't turn it off) unless you use a different -lang.
by VirusScanner
Oct 07, 2006 0:14
Forum: Tips and Tricks
Topic: Floating point math
Replies: 12
Views: 5538

please use [code]...[/code] blocks to enclose your code. It makes it lots easier to read (and also to read the rest of the post).
by VirusScanner
Oct 06, 2006 2:34
Forum: General
Topic: Type Casting ANY Pointers
Replies: 8
Views: 1302

Macros can be created anywhere and (as far as I know) have global scope.
by VirusScanner
Oct 06, 2006 1:28
Forum: General
Topic: Type Casting ANY Pointers
Replies: 8
Views: 1302

Try a macro instead (much better in my opinion because there is no speed loss), or a function that takes a byval argument. #define mycast(x) cast( mytype ptr, x ) or (this is slower) function mycast( byval x as any ptr ) as mytype ptr return cast( mytype ptr, x &#...
by VirusScanner
Oct 05, 2006 3:27
Forum: General
Topic: INPUT with more than one variable
Replies: 19
Views: 3960

Read an article on compiling CVS (it's on the Wiki), there's quite a bit you have to do to "prepare yourself" but once you're ready, it's really easy: - Checkout the CVS (I use TortoiseCVS) - Build the compiler and rtlib using ./configure and make in MSYS - Copy libfb.a and fbc_new.exe to the existi...

Go to advanced search