Search found 12 matches

by Überdevel
Oct 27, 2010 13:06
Forum: Libraries Questions
Topic: AA Lib for FB?
Replies: 2
Views: 1174

I no need an Image2ASCII converter code.

But I found the solution: LibCACA. I think this can work fine for what I need.

Thanks anyway.
by Überdevel
Oct 26, 2010 20:15
Forum: Libraries Questions
Topic: AA Lib for FB?
Replies: 2
Views: 1174

AA Lib for FB?

Is there any implementation of AA Lib for FreeBasic?
Or something that can do what AA Lib can?

I g00gled "AA lib FreeBasic" but found nothing...

Thnx in advance.
by Überdevel
Sep 30, 2010 9:38
Forum: General
Topic: Some UDTs questions
Replies: 8
Views: 1598

2.) I'll look at this. ... anonymous1337, that's just coincidence. It actually doesn't work at all. Try commenting or removing the PUT and just GET it. (after running the program once) You'll get gibberish. [/quote] Basically there is no difference between anonymous1337's method and mine. It's supp...
by Überdevel
Sep 27, 2010 9:15
Forum: General
Topic: Some UDTs questions
Replies: 8
Views: 1598

Some UDTs questions

Hallo. A pair of questions about UDTs: 1.- I read somewhere in the FB Help File that Arrays into UDTs must have a predefined dymension, and cannot be ReDim-ensioned. But... is there any possible trick to solve this problem without putting the array out of the UDT? 2.- I need to dump and recover a wh...
by Überdevel
Apr 27, 2010 9:56
Forum: General
Topic: ASCII Diagonal Lines Troubleshoot
Replies: 8
Views: 3851

Thanks you all for your tips.

I will try when arrive home :-)
by Überdevel
Apr 26, 2010 11:44
Forum: General
Topic: ASCII Diagonal Lines Troubleshoot
Replies: 8
Views: 3851

ASCII Diagonal Lines Troubleshoot

I need to draw a diagonal line between two points in the screen, with a variable X and Y distance between both points. For example: P1 * * * * P2 P's are the points to trace the diagonal lines. That is not a problem. For such easy example, reducing the X and Y coordinates for the next step of the di...
by Überdevel
Apr 24, 2010 11:18
Forum: General
Topic: Dump Array to File AND WRITE# doubt
Replies: 7
Views: 1311

That is useless if the data stored in the array is not a string or character type. In my case, my array contains UDTs with strings, integers, uintegers and double float data types. That's not true. Any value can be turned into/out of a string by using VAL/STR... for instance... You read in someinte...
by Überdevel
Apr 23, 2010 17:38
Forum: General
Topic: Dump Array to File AND WRITE# doubt
Replies: 7
Views: 1311

#1: You'll have to dump it element by element. There is no data type that is sizeof(myArray()). And *(@myArray(0)) returns myArray(0), not an entire array of data. I read somewhere in the CHM documentation file that Write # (or maybe Put # , i don't remember now) that writting arrays as is, was pos...
by Überdevel
Apr 23, 2010 15:50
Forum: General
Topic: Dump Array to File AND WRITE# doubt
Replies: 7
Views: 1311

Dump Array to File AND WRITE# doubt

Question 1: How do I dump an array to a file, BUT as is, not element by element. If doing a "Put #FreeFile, myArray(), compiler returns me an error (tells me to put the array index elemen inside the '()' ) Question 2: How do I use the Files IO Function 'Write #', so i can write to a file a dete...
by Überdevel
Apr 11, 2010 20:27
Forum: General
Topic: [SOLVED]Default Function/Sub Override
Replies: 7
Views: 1780

Thank you all for your tips.
by Überdevel
Apr 10, 2010 20:26
Forum: General
Topic: [SOLVED]Default Function/Sub Override
Replies: 7
Views: 1780

Re: Default Function/Sub Override

Wow, fast answer. :-) Hackish: sub customPrint (byref text as string) print "= "; text;" =" end sub #undef print #define print customPrint print "abc" sleep Just that??? I didn't know that FB has something like this. That looks pretty much like C++, heheh ;-) Sorry for ...
by Überdevel
Apr 10, 2010 19:59
Forum: General
Topic: [SOLVED]Default Function/Sub Override
Replies: 7
Views: 1780

[SOLVED]Default Function/Sub Override

Hi, programming mates. I am trying to do something like this: (Code for VB.NET Protected Overrides Sub Print(ByVal sString as String, ByRef color as Integer, pX as Integer, pY as Integer, wTime as Integer) [insert_code_here] End Sub That is: override/overwrite a system function/sub, but allowing me ...