Search found 22 matches

by qqqnnn
Fri Apr 01, 2011 1:46 am
Forum: Off Topic
Topic: Hello everybody, I'm from China
Replies: 25
Views: 11009

Re: Hello everybody, I'm from China

:P 哈哈,这里确实有很多中国人,我的QQ361300100 有机会交流下
by qqqnnn
Wed Mar 16, 2011 2:13 pm
Forum: Tricks 'n' Tips
Topic: Set/GetGadgetItemData for Panel (crossplattform)
Replies: 5
Views: 3155

Re: Set/GetGadgetItemData for Panel (crossplattform)

This error :cry:

;======= Set/GetGadgetItemData for Panel ==================
; Author: Thomas Schulz (ts-soft)
; Date: December 19, 2010
; Target OS: All
; Target Compiler: Requires PureBasic 4.50
;==========================================================


EnableExplicit

Structure ...
by qqqnnn
Tue Mar 08, 2011 1:14 am
Forum: Coding Questions
Topic: Icons in ListIconGadgets
Replies: 4
Views: 1779

Re: Icons in ListIconGadgets

Thank you very much
by qqqnnn
Tue Aug 03, 2010 5:04 pm
Forum: Tricks 'n' Tips
Topic: Include - unlimited decimals
Replies: 8
Views: 7589

Re: Include - unlimited decimals

Thank You
by qqqnnn
Fri Mar 12, 2010 12:50 pm
Forum: Coding Questions
Topic: Help CatchSprite
Replies: 4
Views: 801

Re: Help CatchSprite

Added

Code: Select all

UseJPEGImageDecoder()
UseJPEGImageEncoder()
Not OK
by qqqnnn
Fri Mar 12, 2010 12:08 pm
Forum: Coding Questions
Topic: Help CatchSprite
Replies: 4
Views: 801

Help CatchSprite



ReadFile(0, "c:/0.jpg")
size=Lof(0)
*buffer=AllocateMemory(size)
*target=AllocateMemory(size)
ReadData(0, *buffer, size)
CloseFile(0)

For c=0 To size-1
pos=*buffer+c
pos2=*target+c
t=PeekB(pos)
q = t + 13
If q > 255
q = q - 256
EndIf
PokeB(pos2, q)
Next c

If CreateFile (1,"c:/0.dat ...
by qqqnnn
Wed Feb 03, 2010 3:25 am
Forum: Coding Questions
Topic: About Division Decimal
Replies: 13
Views: 1989

Re: About Division Decimal

Thank you all for helping me solve the problem of the

:D Kaeru Gaman :D
by qqqnnn
Tue Feb 02, 2010 8:52 pm
Forum: Coding Questions
Topic: About Division Decimal
Replies: 13
Views: 1989

Re: About Division Decimal

Code: Select all

LoadImage(0,Image)
Debug ImageHeight(0) /ImageWidth(0) 

Image width=100px
Image height=50px

:( Debug ImageHeight(0) /ImageWidth(0) =0????????????????????????
by qqqnnn
Tue Feb 02, 2010 8:35 pm
Forum: Coding Questions
Topic: About Division Decimal
Replies: 13
Views: 1989

Re: About Division Decimal

eesau wrote:It was a typo, please try again.

Code: Select all

x.f=100
y.f=50
Debug y/x
Such an error?
by qqqnnn
Tue Feb 02, 2010 8:32 pm
Forum: Coding Questions
Topic: About Division Decimal
Replies: 13
Views: 1989

Re: About Division Decimal

eesau wrote:

Code: Select all

x.f=100
y.f=50

Debug y/x
:( +Infinity
by qqqnnn
Tue Feb 02, 2010 8:25 pm
Forum: Coding Questions
Topic: About Division Decimal
Replies: 13
Views: 1989

Re: About Division Decimal

Code: Select all

x.i=100
y.i=50
Debug y./x.
:cry: Not run
by qqqnnn
Tue Feb 02, 2010 8:23 pm
Forum: Coding Questions
Topic: About Division Decimal
Replies: 13
Views: 1989

Re: About Division Decimal

Olliv wrote:Debug 50. / 100.
Thank you so much thank you
by qqqnnn
Tue Feb 02, 2010 8:16 pm
Forum: Coding Questions
Topic: About Division Decimal
Replies: 13
Views: 1989

About Division Decimal

Code: Select all

debug 50/100
Correct result = 50/100 = 0.5

purebasic 50/100 = 0 ???????

How to get the correct solution
by qqqnnn
Mon Jan 18, 2010 4:20 am
Forum: Coding Questions
Topic: How to Play an online video?
Replies: 2
Views: 730

Re: How to Play an online video?

Example: mms://tv.jxgdw.com/jxtv1
by qqqnnn
Mon Jan 18, 2010 4:19 am
Forum: Coding Questions
Topic: How to Play an online video?
Replies: 2
Views: 730

How to Play an online video?

How to Play an online video?