Please help .. how to pass variables into purebasic

Just starting out? Need help? Post your questions and find answers here.
AlanFoo
Enthusiast
Enthusiast
Posts: 172
Joined: Fri Jul 24, 2009 6:24 am
Location: Malaysia

Please help .. how to pass variables into purebasic

Post by AlanFoo »

Hello,

I am new to purebasic and am exploring it .

I am familiar with QB4.5 and am testing out some of the purebasic examples.

One of the command I wish to have is to pass variables into compiled purebasic programs. the Quick basic equivalent would have been

a$= command$

Where a$ is the string i wish to pass into purebasic.

Hope someone can teach me how ... a sample script would be appreciated.

Further , I wish to purchase a licence online. Can someone highlight to me a trusted purebasic site?

Thanks
Alan
iancrt
User
User
Posts: 12
Joined: Sun May 18, 2003 10:55 am
Location: UK, LEEDS

Post by iancrt »

use

Code: Select all

programparameter() 
search for it in help, its a bit more flexible than the old command$
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: Please help .. how to pass variables into purebasic

Post by rsts »

AlanFoo wrote:Hello,

I am new to purebasic and am exploring it .

Further , I wish to purchase a licence online. Can someone highlight to me a trusted purebasic site?

Thanks
Alan
Welcome to PureBasic.

To purchase - try this

http://www.purebasic.com/ordering.php

cheers
AlanFoo
Enthusiast
Enthusiast
Posts: 172
Joined: Fri Jul 24, 2009 6:24 am
Location: Malaysia

Post by AlanFoo »

Thanks for your assistance.

I got it. When one does not know the command to search for it sure is difficult to figure. Really appreciate your assistance to a newbie. :lol:

Shall be ordeing a licence pretty soon.

Thanks again

REgards
Alan
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Click the banner in my signature and download my free book. This will get you up and running in no time.
--Kale

Image
Post Reply