Helpfile

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Helpfile

Post by nco2k »

1.)
it would be great if all the functions with a return value, would tell what type of result they return:

Code: Select all

Handle = WindowID(#Window)

*Pointer = PreviousElement(LinkedList())

Quad.q = FileSize(FileName$)

Byte.b = PeekB(*MemoryBuffer)

String$ = PeekS(*MemoryBuffer [, Length [, Flags]])
2.)
it would be great if all the examples would use:

Code: Select all

LoadSprite(0, #PB_Compiler_Home+"Examples\Sources\Data\PureBasic.bmp", 0)
instead of just:

Code: Select all

LoadSprite(0, "Data\PureBasic.bmp", 0)
c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf