Closing Time

Just starting out? Need help? Post your questions and find answers here.
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Closing Time

Post by MachineCode »

Demivec wrote:Place End first, then EnableExplicit. Then compile your code. It will check the source for declared variables and procedures but won't run any of it.
But is this the same as the new "Check Syntax" compiler option? If so, it's an obsolete tip.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
Demivec
Addict
Addict
Posts: 4270
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Closing Time

Post by Demivec »

MachineCode wrote:
Demivec wrote:Place End first, then EnableExplicit. Then compile your code. It will check the source for declared variables and procedures but won't run any of it.
But is this the same as the new "Check Syntax" compiler option? If so, it's an obsolete tip.
You're a little late to the party, read a few of the posts before yours... :wink:
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Closing Time

Post by blueznl »

davido wrote:Reassuring to know that Fred has arranged for end to clear up any mess-up my code might make! :D
Not entirely true. This obviously only applies to build-in commands, not if you mess a little with WinApi...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
GWS
User
User
Posts: 23
Joined: Tue Sep 27, 2005 9:51 pm
Location: Staffs. UK

Re: Closing Time

Post by GWS »

@utopiomania and WilliamL ..

Thanks for the welcome guys .. :)

I nearly missed it as you'd resurrected this old thread ..

I'm not much good with PB yet - it feels strange after years with another Basic.

But I'm trying various things, and I'm quite impressed by this language. If only I can figure how it all fits together.

One thing I haven't figured yet - if a user writes a few little programs in PB - where best to post the code, with associated sound and graphics files, for others to try ?

Best wishes, :)

Graham
Tomorrow may be too late ..
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: Closing Time

Post by LuCiFeR[SD] »

GWS wrote:One thing I haven't figured yet - if a user writes a few little programs in PB - where best to post the code, with associated sound and graphics files, for others to try ?
Hi Graham,
you could use Free web hosting or BitBucket or maybe Google Drive or similar.

Regards,
Ash.
User avatar
GWS
User
User
Posts: 23
Joined: Tue Sep 27, 2005 9:51 pm
Location: Staffs. UK

Re: Closing Time

Post by GWS »

Thanks for the info Ash .. :)

It seems a pity this forum doesn't provide for users to upload contribution .zip files into appropriate areas.
The community would surely be more vibrant, and it would help people learning the language considerably.

Maybe there's a problem with capacity or something .. :(

best wishes, :)

Graham.
Tomorrow may be too late ..
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: Closing Time

Post by LuCiFeR[SD] »

GWS wrote:Thanks for the info Ash .. :)

It seems a pity this forum doesn't provide for users to upload contribution .zip files into appropriate areas.
The community would surely be more vibrant, and it would help people learning the language considerably.

Maybe there's a problem with capacity or something .. :(

best wishes, :)

Graham.
To be honest with you Graham, I too would like to see some features along the lines of what you are suggesting... but unfortunately, you have to consider site security,bandwidth and time to implement such features. phpbb is not exactly what you could call "user friendly" from an administration/modding point of view lol

Posting code is easy enough with the code tag. but if you actually want to show off your work/contributions to the full, your only alternatives really are uploading said zips to free hosting or the other similar alternatives I mentioned before and using the URL bbcode tags to link to the file.

You could always ask Fred via the Feature Requests and Wishlists Forum making it clear in the topic that it is website related so that it doesn't get confused with language requests :P The worst thing he can say is "no" :)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Closing Time

Post by ts-soft »

Many pb-programmes are seen incorrectly as a virus and if one this uploaded on http://www.purebasic.fr, is probably soon no more accessible the homepage for many users :mrgreen:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
GWS
User
User
Posts: 23
Joined: Tue Sep 27, 2005 9:51 pm
Location: Staffs. UK

Re: Closing Time

Post by GWS »

Hi ts-soft ..

I was aware of the problem - but we can't let the virus maniacs win and ruin computing for the rest of us.

Fred's recent blog suggested people should contact the anti-virus companies with examples and get them to modify their false positives.

That's a start, but as a commercial entity, PureBasic should approach them officially as well.

I'm running Norton at the moment, and I've not encountered any warnings for the pb programs I've run.

it's been a problem on and off for many years on the Ionic Wind forum - but they are widely recognised as false positives, and the site carries on as normal. Makers of anti-virus programs like Avast and AVG are notified of examples, and eventually modify their software. It is a nuisance though ..

best wishes, :)

Graham
Tomorrow may be too late ..
Post Reply