News:

Function Finder  Find all the functions within source code files

Main Menu

List of KeyWords In PlayBASIC

Started by kevin, May 04, 2018, 01:07:05 PM

Previous topic - Next topic

kevin

List of KeyWords In PlayBASIC.

 This is a not up to date list of keywords in PlayBASIC..  You can find them by searching for "KEYWORDS.TXT" on your computer.   Should be in your windows temp folder.  


  Note:  Read the PlayBASIC Help files online




[Directives]
#Abort
#Warn
#Trace
#Break
#Print
#Cls
#IF
#IFDEF
#IFNDEF
#THEN
#ELSE
#ENDIF

[Commands]
BytePtr
WordPtr
IntPtr
FloatPtr
Int
Float
Rnd
Rnd#
RndRange
RndRange#
Neg
Sqrt
Abs
Exp
RoundUp
RoundDown
Mod
WrapAngle
CurveAngle
CurveValue
Range
ClipRange
ClipRange#
MidPoint
MinVal
MinVal#
MaxVal
MaxVal#
Sin
Cos
SinRadius
CosRadius
SinNewValue
CosNewValue
Tan
ASin
ACos
ATan
ATanFull
LSL32
LSL16
LSL8
LSR32
LSR16
LSR8
ROL32
ROL16
ROL8
ROR32
ROR16
ROR8
NotInt
GetSign
Odd
Even
SwapByteOrder
SwapWordOrder
SwapLowBytes
Move16
Move8
SetBit
ClearBit
SwapBit
TestBit
ReadBits
CopyBits
CurrentDate$
CurrentDay$
CurrentMonth$
CurrentYear$
CurrentTime$
CurrentHour
CurrentMinute
CurrentSecond
Len
Mid$
Mid
Left$
Right$
CutLeft$
CutRight$
Trim$
TrimLeft$
TrimRight$
Lower$
Upper$
AutoCaps$
Chr$
Bin$
Hex$
Asc
Val
Val#
Str$
Replace$
InString
Make$
Pad$
Flip$
Insert$
Digits$
ReadData
ReadData#
ReadData$
Data
Restore
GetDataPointer
GetDataQuantity
GetDataType
FindData
And
Or
Xor
Not
Dim
ReDim
MakeArray
DeleteArray
SetArray
GetArray
CopyArray
CopyArrayCells
SortArray
SwapArray
MoveArray
ClearArray
ClearArrayCells
FindArrayCell
SearchLowestArrayCell
SearchHighestArrayCell
UnDim
UnDimALL
GetArrayStatus
GetArrayDimensions
GetArrayElements
GetArrayElementIndex
SplitToArray
FreeCell
GetFreeCell
GetUsedCell
NewList
ResetList
StepList
EndOfList
SetListPos
GetListPos
GetListFirst
GetListPrevious
GetListNext
GetListSize
GetListPtr
Inkey$
ScanCode
KeyState
KeyBoardState
LeftKey
RightKey
UpKey
DownKey
SpaceKey
EnterKey
EscKey
ShiftKeys
WindowsKeys
CtrlKeys
AltKeys
FunctionKeys
WaitKey
WaitNoKey
BreakKey
GetBreakKey
GetScanCodeKeyName$
JoyStatus
JoyLeft
JoyRight
JoyUp
JoyDown
JoyButton
FlushJoys
SetMouse
SetMouseX
SetMouseY
Mouse
MouseX
MouseY
MouseZ
MouseMoveX
MouseMoveY
MouseMoveZ
FlushMouse
FlushKeys
MouseButton
LeftMouseButton
MidMouseButton
RightMouseButton
WaitMouse
WaitAllInput
WaitNoInput
CirclesIntersect
PointIntersectCircle
LineIntersectCircle
LineIntersectRect
LinesIntersect
RayIntersectWorld
GetDistance2D
GetDistance3D
PointInBox
MouseInBox
GetIntersectX#
GetIntersectY#
GetIntersectObject
GetNormalX#
GetNormalY#
Sync
Print
Text
CenterText
SetCursor
SetCursorX
SetCursorY
GetCursorX
GetCursorY
CursorLineFeed
GetCursorLineFeed
CursorMargin
GetCursorMargin
Cls
Ink
GetInk
GetInkA
GetInkR
GetInkG
GetInkB
InkMode
GetInkMode
InkAlpha
GetInkAlpha
RGB
ARGB
RndRGB
RgbA
RgbR
RgbG
RgbB
RGB24ToRGB16
RGB16ToRGB24
RGB24ToRGB15
RGB15ToRGB24
RGBFade
RgbGreyScale
RgbAlphaBlend
RgbAlphaAdd
RgbAlphaSub
RgbAlphaMult
RgbAlphaAnd
RgbAlphaOr
RgbAlphaXor
FastDot
Dot
DotC
FastPoint
Point
PixelRunLength
Line
LineC
Box
BoxC
ShadeBox
Circle
CircleC
Ellipse
EllipseC
Tri
TriC
Quad
QuadC
GouraudTri
GouraudQuad
GouraudStripH
GouraudStripV
TextureStripH
TextureStripV
TextureTri
TextureQuad
CopyRect
CopyStripV
CopyStripH
LoadFont
LoadNewFont
DeleteFont
SetFont
CreateBitmapFont
NewBitmapFont
CreateFxFont
PrepareFxFont
MakeBitmapFont
MakeShadowBitmapFont
BlendBitmapFont
FindFont
FontMaskColour
FontBlendColour
FontDrawMode
SaveFont
FontQuantity
GetFreeFont
GetFontQuantity
GetCurrentFont
GetFontName$
GetFontStatus
GetFontType
GetFontSize
GetFontWidth
GetFontHeight
GetFontStyle
GetFontMaskColour
GetFontBlendColour
GetFontDrawMode
GetTextWidth
GetTextHeight
FontChrWidth
FontChrUnderHang
FontChrOverHang
GetFontChrWidth
GetFontChrUnderHang
GetFontChrOverHang
DrawFontChr
GetFontChr
OpenScreen
CloseScreen
SwapScreen
ScreenVsync
ScreenViewPort
TitleScreen
CenterScreen
PositionScreen
StretchGFXScreen
LoadScreenIcon
ScreenLayout
GetScreenClose
GetScreenType
GetScreenXpos
GetScreenYpos
GetScreenWidth
GetScreenHeight
GetScreenDepth
GetScreenTitle$
GetScreenVsync
GetScreenHandle
GetScreenFocus
GetDesktopWidth
GetDesktopHeight
ScreenModeExist
CreateCamera
NewCamera
DeleteCamera
DeleteAllCameras
LimitCamera
LimitCameraBounds
CameraViewPort
CameraClippingPlane
CameraSceneSort
CameraVisible
CameraCls
CameraClsColour
CameraPriority
PositionCamera
PositionCameraX
PositionCameraY
MoveCamera
DrawCamera
DrawAllCameras
ClsScene
CaptureDepth
GetCaptureDepth
CaptureVis
GetCaptureVis
GetFreeCamera
GetCameraQuantity
GetCameraX
GetCameraY
GetCameraWidth
GetCameraHeight
GetCameraCls
GetCameraClsColour
GetCameraLimit
GetCameraLimitX1
GetCameraLimitY1
GetCameraLimitX2
GetCameraLimitY2
GetCameraPriority
GetCameraStatus
GetCameraSurface
GetCameraViewPortX1
GetCameraViewPortY1
GetCameraViewPortX2
GetCameraViewPortY2
GetCameraVisible
PointOverCamera
DrawGFXImmediate
CaptureToScene
CaptureToWorld
SceneMaxZdepth
SceneSortMethod
SceneCacheSize
GetSceneCacheSize
GetCurrentSceneOffset
CreateWorld
NewWorld
DeleteWorld
CameraGrabWorld
CameraGrabWorldAt
PartitionWorld
GetFreeWorld
GetWorldQuantity
GetWorldStatus
WorldElementVisible
GetWorldElementVisible
GetWorldElements
GetWorldClosestPoint
QueryWorldRegion
RenderToImage
RenderToScreen
LockBuffer
UnLockBuffer
GetSurface
GetSurfaceStatus
GetSurfaceWidth
GetSurfaceHeight
GetSurfaceType
DrawImage
SetBlitImageBuffer
BlitImage
TileImage
GridImage
DrawAlphaImage
DrawRotatedImage
NewImage
CreateImage
NewFXImage
CreateFXImage
CreateFXImageEx
GetImage
LoadNewImage
LoadNewFxImage
LoadNewAFxImage
LoadImage
LoadFxImage
LoadAFxImage
DeleteImage
DeleteImageRange
DeleteAllImages
PrepareFXImage
PrepareAFXImage
ImageViewPort
RestoreImageViewPort
ImageMaskColour
ImageShape
ScaleImage
CopyImage
MirrorImage
FadeImage
BlurImage
RGBMaskImage
GrayScaleImage
ScrollImage
LightImage
RenderPhongImage
ImageQuantity
GetImageQuantity
GetFreeImage
GetImageStatus
GetImageType
GetImageWidth
GetImageHeight
GetImageDepth
GetImagePitch
GetImagePtr
GetImageMaskColour
GetImageViewPortX1
GetImageViewPortY1
GetImageViewPortX2
GetImageViewPortY2
GetImageShape
GetImageFileName$
SpriteImage
SpriteHandle
CenterSpriteHandle
AutoCenterSpriteHandle
SpriteDrawMode
SpriteAlphaLevel
SpriteFadeLevel
SpriteVisToCamera
SpriteImageUV
SpriteImageRGB
SpriteFlashColour
SpriteAlphaColour
SpriteAlphaAddColour
SpriteAlphaSubColour
SpriteColourReplaceKey
SpriteReplacementColour
SpriteRasterColourBuffer
PositionSprite
PositionSpriteXYZ
PositionSpriteX
PositionSpriteY
PositionSpriteZ
MoveSprite
MoveSpriteX
MoveSpriteY
MoveSpriteZ
RotateSprite
TurnSprite
ScaleSprite
ScaleSpriteXY
ScaleSpriteX
ScaleSpriteY
SpriteParent
SpriteQuantity
SpriteVisible
SpriteTransparent
SpriteFilter
SpriteTint
SpriteMaskColourCompression
SpriteTriangulated
SpriteCollision
SpriteCollisionClass
SpriteCollisionMode
SpriteCollisionRadius
SpriteCollisionDebug
SpriteCollisionWorld
CreateSpriteLocals
DeleteSpriteLocals
SpriteLocalByte
SpriteLocalWord
SpriteLocalInt
SpriteLocalFloat
SpriteLocalString
NewSprite
CreateSprite
DeleteSprite
DeleteALLSprites
DeleteSpriteRange
CopySprite
DrawSprite
DrawSpriterange
DrawAllSprites
DrawOrderedSprites
SpriteCollisionAccuracy
SpriteInRegion
SpriteInCamera
SpriteHit
SpriteHitWorld
SpritesOverlap
RayHitSprite
PointHitSprite
QuadHitSprite
RectHitSprite
CircleHitSprite
ShapeHitSprite
SpritesInShape
GetFreeSprite
GetFirstSprite
GetNextSprite
GetSpriteStatus
GetSpriteVisible
GetSpriteTransparent
GetSpriteFilter
GetSpriteTint
GetSpriteMaskColourCompression
GetSpriteTriangulated
GetSpriteCollision
GetSpriteCollisionClass
GetSpriteCollisionMode
GetSpriteCollisionRadius
GetSpriteCollisionDebug
GetSpriteCollisionWorld
GetSpriteWorldImpact
GetSpriteImpactObject
GetSpriteImage
GetSpriteWidth
GetSpriteHeight
GetSpriteX
GetSpriteY
GetSpriteZ
GetSpriteOldX
GetSpriteOldY
GetSpriteOldZ
GetSpriteVertexX
GetSpriteVertexY
GetSpriteImageU
GetSpriteImageV
GetSpriteImageRGB
GetSpriteHandleX
GetSpriteHandleY
GetSpriteAngle
GetSpriteScaleX
GetSpriteScaleY
GetSpriteDrawMode
GetSpriteAlphaLevel
GetSpriteFadeLevel
GetSpriteVisToCamera
GetAutoCenterSpriteHandle
ClosestSpriteToPoint
GetSpriteLocalPtr
GetSpriteLocalSize
GetSpriteLocalByte
GetSpriteLocalWord
GetSpriteLocalInt
GetSpriteLocalFloat
GetSpriteLocalString
GetSpriteQuantity
CompareSpritePixels
ImageHitSpritePixels
PointHitSpritePixels
RectHitSpritePixels
EllipseHitSpritePixels
TriangleHitSpritePixels
QuadHitSpritePixels
LineHitSpritePixels
ShapeHitSpritePixels
GetSpriteCollisionAccuracy
GetSpriteRect
NewMap
CreateMap
DeleteMap
DeleteAllMaps
DrawMap
DrawMapBlk
GetMapBlk
CreateMapGFX
LoadMapGFX
MakeMapGFX
PrepareFXMap
MapLevelQuantity
GetMapQuantity
MapDebug
GetMapDebug
MapAnimQuantity
UpdateMapAnims
ResetMapAnims
CreateMapAnim
ResizeMapAnim
DeleteMapAnim
DeleteAllMapAnims
MapAnimCurrentFrame
MapAnimFrameRate
MapAnimCurrentFrameRate
MapAnimType
PokeMapAnim
PeekMapAnim
NewLevel
CreateLevel
DeleteLevel
DeleteAllLevels
ResizeLevel
ClearLevel
FillLevel
CopyLevel
CloneLevel
PasteLevel
PokeLevelTile
PeekLevelTile
GetLevelTile
LevelDrawMode
LevelSolid
LevelTransparent
LevelTransparentTile
LevelAnimated
GetFreeMap
GetFreeMapLevel
GetMapStatus
GetMapLevels
GetMapMaskColour
GetMapBlockStatus
GetMapBlockWidth
GetMapBlockHeight
GetMapBlocks
GetMapBlockQuantity
GetMapBlockTransparent
GetLevelStatus
GetLevelDrawMode
GetLevelWidth
GetLevelHeight
GetLevelABSWidth
GetLevelABSHeight
GetLevelTransparentTile
GetMapAnimStatus
GetMapAnimCurrentFrame
GetMapAnimFrameRate
GetMapAnimCurrentFrameRate
GetMapAnimType
GetMapAnimSize
GetMapAnims
GetFreeMapAnim
CheckMapImpact
GetMapImpactX
GetMapImpactY
GetMapImpactLeft
GetMapImpactRight
GetMapImpactTop
GetMapImpactBot
PointHitMapPixels
RayHitMapPixels
RectHitMap
RectHitMapPixels
CircleHitMap
CircleHitMapPixels
EllipseHitMap
EllipseHitMapPixels
TriangleHitMap
TriangleHitMapPixels
QuadHitMap
QuadHitMapPixels
SpriteHitMap
SpriteHitMapPixels
ShapeHitMap
ShapeHitMapPixels
RectOccludeMap
CircleOccludeMap
EllipseOccludeMap
TriangleOccludeMap
QuadOccludeMap
NewShape
CreateShape
NewConvexShape
CreateConvexShape
DeleteShape
DeleteAllShapes
DrawShape
CopyShape
ResizeShape
MergeShape
ScaleShape
ScaleShapeXY
RotateShape
RotateShapeXY
ShiftShape
SetShapeVertex
SetShapeEdge
DeleteShapeEdge
RefreshShape
GetFreeShape
GetShapeStatus
GetShapeVerts
GetShapeEdges
GetShapeVertexX
GetShapeVertexY
GetShapeEdge
GetShapeEdgeStatus
PointHitShape
LineHitShape
CircleHitShape
BoxHitShape
ShapeHitShape
ShapeQuantity
GetShapeQuantity
ShapeDebug
GetShapeDebug
LoadSound
LoadNewSound
DeleteSound
DeleteAllSounds
PlaySound
PlayDynamicSound
StopSound
PauseSound
ResumeSound
SoundVolume
SoundFreq
SoundPan
LoopSound
SoundMasterVolume
GetSoundMasterVolume
GetFreeSound
GetSoundQuantity
GetSoundStatus
GetSoundVolume
GetSoundPan
GetSoundFreq
GetSoundPlaying
LoadMusic
LoadNewMusic
DeleteMusic
DeleteAllMusics
PlayMusic
StopMusic
PauseMusic
ResumeMusic
MusicVolume
MusicFreq
MusicPan
LoopMusic
GetFreeMusic
GetMusicQuantity
GetMusicStatus
GetMusicVolume
GetMusicPan
GetMusicFreq
GetMusicPlaying
LoadDll
LoadNewDll
DeleteDll
CallDll
CallDll#
CallDll$
DllCallConv
GetDllCallConv
GetFreeDll
GetDllQuantity
GetDllStatus
GetDllExist
GetDllCallExist
GetDllFileName$
NewBank
CreateBank
DeleteBank
ResizeBank
CopyBank
CopyBankBytes
BankQuantity
GetBankQuantity
GetFreeBank
GetBankStatus
GetBankSize
GetBankPtr
PokeBankByte
PokeBankWord
PokeBankInt
PokeBankFloat
PokeBankString
PeekBankByte
PeekBankWord
PeekBankInt
PeekBankFloat
PeekBankString
OpenFile
ReadFile
WriteFile
OpenNewFile
ReadNewFile
WriteNewFile
CloseFile
GetFreeFile
GetFileQuantity
ReadMemory
WriteMemory
ReadByte
ReadWord
ReadInt
ReadFloat
ReadString$
ReadValue
ReadValue#
ReadChr$
ReadByteAt
ReadWordAt
ReadIntAt
ReadFloatAt
ReadStringAt$
ReadChrAt$
WriteByte
WriteWord
WriteInt
WriteFloat
WriteString
WriteChr
WriteByteAt
WriteWordAt
WriteIntAt
WriteFloatAt
WriteStringAt
WriteChrAt
EndOfFile
FilePos
GetFilePos
GetFileStatus
FileExist
FileSize
FileType
FolderExist
DriveExist
DriveReady
DriveName$
DriveSerial
DriveList$
CD
CurrentDir$
CurrentDrive$
ProgramDir$
SystemDir$
WindowsDir$
TempDir$
CommandLine$
CopyFile
MoveFile
DeleteFile
MakeFile
ExeFile
FindFile$
MakeDir
CopyDir
DeleteDir
FirstFile$
NextFile$
ReadDir
GetDirSize
GetDir$
GetDirFile$
GetDirFolder$
GetDirFileType
GetFileExt$
GetFileName$
GetFolderName$
GetDeviceName$
GetVMSync
VMSync
GetRunTimeError
ClearRunTimeError
End
ACReset
ACSet
AC
ForceDeclaration
Declaration
EndDeclaration
Explicit
OptExpressions
Wait
Timer
SetFPS
GetFPS
FPS
Rem
RemStart
RemEnd
Let
If
Then
Else
ElseIf
EndIf
Select
EndSelect
Case
Default
ContCase
LinkDll
EndLinkDll
Alias
FastCalc
_FastCalc
List
Class
EndClass
Module
EndModule
TypeOf
SizeOf
Type
EndType
As
Byte
Word
Integer
String
StringRef
Pointer
Define
Constant
Public
Private
Global
Static
Local
CallFunction
FunctionExist
FunctionIndex
Function
EndFunction
Exitfunction
Psub
EndPsub
Goto
Gosub
Return
Exit
ExitFor
ExitRepeat
ExitWhile
ExitDo
ExitIF
Continue
Do
Loop
Repeat
Until
While
EndWhile
DecLoop
For
To
Next
Step
Each
Inc
Dec
Swap
SwapIfLower
SwapIfHigher
Push
Pop
Pop#
Pop$
Free
New
GetArrayPtr
PeekString
PokeString
TranslateMeshToScene
compilevectorstack
testsub
pokebyte
pokeword
pokeint
pokefloat
peekbyte
peekword
peekint
peekfloat
cosh
sinh
tanh
radtodegree
degreetorad
getangle2d
angledifference
turndirection
rotatetopoint
sgn
ceil
floor
availsysmemory
randomize
wrapvalue
log
log10
copymemory
fillmemory
fillmemoryex
findmemoryrunlength
comparememory
lerpvertexlist
rotatevertexlisttocamera
rotatevertexlist
rotatevertexlistxyz
rotatevertexlistzyx
rgbalpha50
rgbalphablend255
rgbdepthcue
rgbscale
cpummxstate
gfxmmx
getgfxmmx
pbpokeengine
pbpeekengine
blitfxthreads
getblitfxthreads
executevectorstack

[Constants]
playbasicversion
pbversion
true
yes
on
false
no
off
pbdebug
pbdebugmode
pbcompilemode
pbtracestate
pbexplicitstate
pboptexpressionstate
null
pbblitmode_blitclear
pbblitmode_alpha
pbblitmode_alpha50
pbblitmode_alphaadd
pbblitmode_alphasub
pbblitmode_alphamult
pbblitmode_alphapostmult
pbmapanim_idle
pbmapanim_forward
pbmapanim_backward
pbmapanim_forwardonce
pbmapanim_backwardonce
pbmapanim_pingpongforward
pbmapanim_pingpongbackward
pbmapanim_mask
pbarraystruct_size
pi#
playbasic$
PlayBasicVersion
PBVersion
True
Yes
On
False
No
Off
PBDebug
PBDebugMode
PBCompileMode
PBTraceState
PBExplicitState
PBOptExpressionState
NULL
PBBlitMode_BlitClear
PBBlitMode_Alpha
PBBlitMode_Alpha50
PBBlitMode_AlphaAdd
PBBlitMode_AlphaSub
PBBlitMode_AlphaMult
PBBlitMode_AlphaPostMult
PBMapAnim_Idle
PBMapAnim_Forward
PBMapAnim_BackWard
PBMapAnim_ForwardOnce
PBMapAnim_BackwardOnce
PBMapAnim_PingPongForward
PBMapAnim_PingPongBackward
PBMapAnim_Mask
PBArrayStruct_Size
PI#
PlayBASIC$
vs_end
vs_move
vs_add
vs_sub
vs_div
vs_mult
vs_project
vs_clip_xy
vs_clip_z

[Operators]
And
Or
Xor
Not
=
-
+
*
/
&
|
^



  PLayBASIC Documentation Online


stevmjon

when you look at the list presented this way, you sure have put in a lot of work building playbasic.

i opened the file stored on my computer with notepadd++ , and it says 1091 commands , 13 directives , 45 constants.
It's easy to start a program, but harder to finish it...

I think that means i am getting old and get side tracked too easy.

kevin

 
Yeah.. it's  bit of a chore,  I would say it's been a labour of love but that'd be pushing it somewhat.  :)

While building the compiler / runtimes and various creation tools have taken a lot of work,  one of the biggest work load is actually the secondary stuff like the help files and examples etc etc..    I think the last build of the doc's has a bout 1120 pages or something.