[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Poco Forums • View topic - $PocoVersion and #PocoVersion

$PocoVersion and #PocoVersion

Scripting questions and ideas

Moderators: Eric, Tomas, robin, Michael

$PocoVersion and #PocoVersion

Postby MarkB » Fri Aug 18, 2006 5:06 am

Regarding the system variables $PocoVersion and #PocoVersion:

PocoScript and the PocoScript documentation seem out of synch. Both variables contain the number 3000 and nothing else (2000 with v3.4).
Code: Select all
AddStrings $msg "$PocoVersion: " $PocoVersion "\n"
AddStrings $msg "#PocoVersion: " #PocoVersion
MessageBox $msg


The documentation says that $PocoVersion "Contains the version info for PocoMail (the same as is displayed in the X-Mailer header)." Well, not exactly the same.
X-Mailer: PocoMail 4.1 (3650) - Licensed Version

And shouldn't there be some mention of 3650?
MarkB
Poco Enthusiast
 
Posts: 217
Joined: Mon Aug 09, 2004 1:31 am
Location: Canada

Postby Michael » Tue Aug 22, 2006 4:08 pm

I suspect the problem stems from a change that was made to reflect the version number of the PocoScript interpretter. This was done to allow Poco and Barca scripts to use the same information to determine what features were supported in the script engine. This should be documented in the help file.
Michael
Moderator
 
Posts: 866
Joined: Mon Jul 26, 2004 12:14 pm
Location: Victoria BC, Canada

Postby Slaven » Thu Aug 24, 2006 4:47 pm

Yes, we fixed it to only major release versions so that the scripts can be made to work across platforms, so the Help file needs adjusting!
Slaven Radic
Poco Systems Inc
Slaven
Poco Systems Inc
 
Posts: 1644
Joined: Fri Jul 23, 2004 7:37 pm


Return to PocoScript Help and How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron