Search found 131 matches
- Jun 01, 2005 8:58
- Forum: Sources, Examples, Tips and Tricks
- Topic: Compiler version control
- Replies: 7
- Views: 6065
- Jun 01, 2005 8:56
- Forum: General
- Topic: parsing math expressions
- Replies: 7
- Views: 5262
marzec wrote a nice math parser already at bad-logic forums, it seems quite functional (and expandable).
- May 31, 2005 23:25
- Forum: General
- Topic: feature request, and a site question
- Replies: 4
- Views: 3990
- May 31, 2005 23:10
- Forum: General
- Topic: parameter type mismatch (integer -> byte)
- Replies: 14
- Views: 7557
- May 31, 2005 21:15
- Forum: General
- Topic: parameter type mismatch (integer -> byte)
- Replies: 14
- Views: 7557
parameter type mismatch (integer -> byte)
edit: I think freebasic should (by default) pass an integer to a sub when it expects a byte with no error message (by sending the lower byte). Joakim just notes to me that theres a CBYTE() function for type casting, which i didnt know about heh. Like this shouldnt complain: sub mysub (a as byte) '.....
- May 31, 2005 21:01
- Forum: DOS
- Topic: accessing video memory
- Replies: 10
- Views: 8642
- May 31, 2005 20:55
- Forum: General
- Topic: feature request, and a site question
- Replies: 4
- Views: 3990
nasty
took me a while to see this, but this is an infinite loop: dim x as ubyte for x = 0 to 255 print x; next First I thought it's a bug, but I do see now why this happens. As x goes to 255 and increases the count from 255 to 0, and thats not more than 255 so it continues wrapping. I guess I will use an ...
- May 31, 2005 7:55
- Forum: General
- Topic: feature request, and a site question
- Replies: 4
- Views: 3990
feature request, and a site question
Would be nice if functions could return type variables. Extremely useful. Like so: function my_func(...) as my_type dim x as my_type ... return x end function Also vic, I posted this in the sourceforge tracker 'feature request' part but I figured you'd never check it. Why is there no link from freeb...
- May 31, 2005 6:41
- Forum: DOS
- Topic: accessing video memory
- Replies: 10
- Views: 8642
accessing video memory
Hey im trying to access the video memory of text-mode. I tried like the old method with dos 16-bit: dim vid as integer ptr vid = &hb8000 print *(vid+0) but i get this error report: > Executing: C:\Program Files\ConTEXT\ConExec.exe "C:\code\fbc\run.bat" "C:\code\fbc\tests\ascii&quo...
- May 28, 2005 21:16
- Forum: Archive
- Topic: a small preview
- Replies: 29
- Views: 19247