Search found 1268 matches

by #NULL
Thu Sep 27, 2007 9:32 am
Forum: Coding Questions
Topic: Problem using 2-dimensional array with procedure
Replies: 4
Views: 699

>> then read that DIM/array commands are always global and no passing is required

this is true for PB-versions < 4.00.
in PB-versions 4.xx Dims and LinkedLists are local by default.
and the order you use for the OpenWindow()-paramters says, that you're using a 4.xx version.
by #NULL
Sat Sep 22, 2007 10:34 pm
Forum: Off Topic
Topic: Looking for a good name for a website?
Replies: 34
Views: 3380

hey!
i just got a thought,
what about
http://www.daredifference.com/
isn't that a great name?
by #NULL
Fri Sep 21, 2007 6:25 pm
Forum: Off Topic
Topic: Looking for a good name for a website?
Replies: 34
Views: 3380

i just found out that these seem to be free too:
[url]http://www._.com/[/url]
http://www.a.com/
http://www.b.com/
http://www.c.com/
..at least easy to remember :lol:
by #NULL
Tue Sep 18, 2007 10:43 pm
Forum: Tricks 'n' Tips
Topic: Tip: IIf function
Replies: 15
Views: 6391

like this i do it for integers: ; if2.pbi ; by #Null Procedure if2proc(condition, A.l, B.l) If condition ProcedureReturn A Else ProcedureReturn B EndIf EndProcedure Macro if2(if2_condition, if2_A, if2_B) if2proc( (0 Or (if2_condition)), if2_A, if2_B ) EndMacro ;Debug if2( 2>5, 123, 321) like that fo...
by #NULL
Sat Sep 15, 2007 5:16 pm
Forum: Feature Requests and Wishlists
Topic: Trinary Operator
Replies: 5
Views: 2161

thats how i do it (for strings): Macro StrIf( _StrIf_condition_, _StrIf_string_IF_, _StrIf_string_ELSE_="") _StrIf_proc( 0 Or (_StrIf_condition_), _StrIf_string_IF_, _StrIf_string_ELSE_ ) EndMacro Procedure.s _StrIf_proc( condition.l, stringIF.s, stringELSE.s) If condition ProcedureReturn ...
by #NULL
Sat Sep 15, 2007 4:54 pm
Forum: Linux
Topic: ExamineDesktops() dont work
Replies: 1
Views: 1218

i think i stumbled over that recently.
it only works if you open a window first.
(i can't check right now; i am under Windows)
by #NULL
Wed Sep 12, 2007 9:02 pm
Forum: Game Programming
Topic: Marbles anyone?
Replies: 20
Views: 6310

nice game!
my first game in PB was exactly the same :D (if someone wants to have <a look>).
i learnt it without diagonal moves too, only -- and |.
i think it could look better, if you use some sprites/images instead of the red and green dots, just for the optik.
keep it up.
by #NULL
Sun Sep 02, 2007 8:16 pm
Forum: Game Programming
Topic: okay.. group effort. fixing keyboardinkey...post your fixes
Replies: 16
Views: 5862

i have an include 'keyboardEdit.pbi' that i use for that. it also allows cursor movement and multiline. there's an example at the end (activate it at the CompilerIf) there are two tables, Qwertz and Qwerty, but i'm using a german keyboard, so don't know for shure if Qwerty is set correctly. < keyboa...