Page 1 of 1

Posted: Sun Jan 27, 2002 11:45 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

Go to http://www.purebasic.com for more informations . If you found any bugs, please send me a mail (or post on the forum) quickly. Thanks for your help !
BTW: PureBasic can create DLL now... Hehe...

An early version of v2.90 has sprite lib broken. New version is online.

Edited by - fred on 28 January 2002 00:44:45

Posted: Mon Jan 28, 2002 1:11 am
by BackupUser
Restored from previous forum. Originally posted by PB.

Good to see my Debug Window request added!

For those unfamiliar with the Debug command, it's the equivalent of Visual
Basic's Debug.Print command. I notice the docs don't explain how to use it,
so here's both an example (for others) and a possible bug report (for you):

Code: Select all

Debug "Entering main loop..."
a=136
Debug Str(a) ; This doesn't work.
Debug "'a' should be 136: "+Str(a) ; But this does.
Delay(9999)

PB - Registered PureBasic Coder

Edited by - PB on 28 January 2002 01:16:33

Posted: Mon Jan 28, 2002 5:12 am
by BackupUser
Restored from previous forum. Originally posted by morduun.

Perhaps I'm just being thick (which I probably am), but I can't seem to get the compiler to output a compiled DLL when I select DLL as my output in compiler options. I've written a single function, the syntax checks out ok, but when I try to create the file... nothing happens. Is this me (likely), or something funny with the update?

~m

Three may keep a secret, if two of them are dead.

Posted: Mon Jan 28, 2002 6:45 am
by BackupUser
Restored from previous forum. Originally posted by Kanati.

not just the sprite library was broken fred... at LEAST the network library and misc libraries are broken as well. I suggest recompiling ALL libraries and TESTING them. Right now I'm broken because I don't have any of my old updates. :/

Kanati

Posted: Mon Jan 28, 2002 7:02 am
by BackupUser
Restored from previous forum. Originally posted by Paul.

Just upgraded to 2.90 and all old commands work fine here!

Haven't tried the new commands cause I can't find the docs for them :)

Posted: Mon Jan 28, 2002 7:16 am
by BackupUser
Restored from previous forum. Originally posted by Danilo.

The Sprite stuff still doesnt work here (win2k-SP2).
I got v2.90 after Fred said the new version is online.

InitSprite() -> not a function
OpenScreen() -> not a function
LoadSprite() -> not a function
...

Try the PB-Examples:
Sprite.pb, Sprite_SpecialFX.pb, Sprite3D.pb


The PB-Example "2DDrawing.pb" also
doesnt work here. It does nothing.

cya,
...Danilo

(registered PureBasic user)

Posted: Mon Jan 28, 2002 7:28 am
by BackupUser
Restored from previous forum. Originally posted by Fangbeast.
The Sprite stuff still doesnt work here (win2k-SP2).
I got v2.90 after Fred said the new version is online.

InitSprite() -> not a function
OpenScreen() -> not a function
LoadSprite() -> not a function
...

Try the PB-Examples:
Sprite.pb, Sprite_SpecialFX.pb, Sprite3D.pb


The PB-Example "2DDrawing.pb" also
doesnt work here. It does nothing.

cya,
...Danilo

(registered PureBasic user)
I tried all three, same result as you. Even turning the debugger on and calling it did nothing. Strange

Fangles

Posted: Mon Jan 28, 2002 8:14 am
by BackupUser
Restored from previous forum. Originally posted by Fangbeast.

Fred's superfast. He re-issued a fixed update not long after the first personr eported the problem. Woohoo!

Fangles

Posted: Mon Jan 28, 2002 8:19 am
by BackupUser
Restored from previous forum. Originally posted by fred.
Fred's superfast. He re-issued a fixed update not long after the first personr eported the problem. Woohoo!
Yes, a (new :) update is available. Sorry for the convenience... Please tell me if all goes well now.

Fred - AlphaSND

Posted: Mon Jan 28, 2002 8:25 am
by BackupUser
Restored from previous forum. Originally posted by fred.
For those unfamiliar with the Debug command, it's the equivalent of Visual
Basic's Debug.Print command. I notice the docs don't explain how to use it,
so here's both an example (for others) and a possible bug report (for you):
Purebasic allows even more by introducing DebugLevel. This means you can assign a debug level to every Debug you do and then display only the debug which are below a given level.

Code: Select all


DebugLevel 3 ; only debug with values of 0,1,2,3 will be displayed

Debug "Error 1", 4 ; This one willn't be displayed (debuglevel of 4)
Debug "Error 2", 1 ; This one will be displayed
Debug "Error 3" ; This one will be displayed (debuglevel of 0)

Fred - AlphaSND

Posted: Mon Jan 28, 2002 11:08 am
by BackupUser
Restored from previous forum. Originally posted by fred.
Perhaps I'm just being thick (which I probably am), but I can't seem to get the compiler to output a compiled DLL when I select DLL as my output in compiler options. I've written a single function, the syntax checks out ok, but when I try to create the file... nothing happens. Is this me (likely), or something funny with the update?
Have you use the 'DLLSample.pb' source file ? The dll is created in the compiler directory.

Fred - AlphaSND

Posted: Mon Jan 28, 2002 11:35 am
by BackupUser
Restored from previous forum. Originally posted by Danilo.

OK, the new fixed v2.90 works now, but:

1.) Sprite3D.pb Sprites are not Transparent anymore
> (worked before)

2.) Procedures in a DLL put a "_" before the name
> (DLL-procedure "fred" becomes "_fred")

Can you look at this 2 things, Fred ??

Thanks,
...Danilo

(registered PureBasic user)

Posted: Mon Jan 28, 2002 12:33 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

1.) Sprite3D.pb Sprites are not Transparent anymore
> (worked before)

Ok.. Will take a look.

2.) Procedures in a DLL put a "_" before the name
> (DLL-procedure "fred" becomes "_fred")

No problem.


Fred - AlphaSND

Posted: Mon Jan 28, 2002 4:35 pm
by BackupUser
Restored from previous forum. Originally posted by morduun.

Argh! I knew I was being thick; I completely missed the new example file. Thanks a million, Fred!

Three may keep a secret, if two of them are dead.

Posted: Mon Jan 28, 2002 5:15 pm
by BackupUser
Restored from previous forum. Originally posted by Shagwana.

I just posted about that transparancy thing in the bug section (_8(I) Doh!

http://www.sublimegames.com