Search found 1236 matches

by #NULL
Fri Sep 21, 2007 6:25 pm
Forum: Off Topic
Topic: Looking for a good name for a website?
Replies: 34
Views: 3889

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: 7271

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: 2434

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: 1371

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: 6752

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: 6279

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...