Syntax

Everything else that doesn't fall into one of the other PB categories.
jwwphoto
New User
New User
Posts: 9
Joined: Fri Dec 20, 2013 6:21 pm
Location: Westlake, Louisiana
Contact:

Syntax

Post by jwwphoto »

Where can I find the Syntax of the commands...

I am trying to invoke 'clear screen' and it says syntax error when I run....


Jeff W Waldrop
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Syntax

Post by IdeasVacuum »

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Syntax

Post by PB »

> Where can I find the Syntax of the commands

In the manual? :shock:
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: Syntax

Post by davido »

@jwwphoto,

Please show the offending code so it can be run and display the error.
I'm sure some one will be pleased to locate the error for you.
DE AA EB
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8453
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Syntax

Post by netmaestro »

The syntax for that is ClearScreen(<color>). After you've displayed your sprites/images/text, whatever make sure you remember to do FlipBuffers() or you won't see anything.
BERESHEIT
Post Reply