Open Forum > What's New
Script BASIC project site upgrade
mpiotro:
Definitely interested! Thank you for your efforts in this! I am currently using scriptbasic with a web appliance device from Control Solutions (http://csimn.com/CSI_pages/iboard.html). I am using this device to read/write values into a controller via webservices.
Support:
This is a current status of our member base as of March 12th 2014. As mentioned at the start of this thread ALL members need to reply to this thread or send me an e-mail indicating if you wish to continue being a member or not. Members not responding by March 31, 2014, will be removed from the active member list.
The column following the member ID is the number of days since you last logged in followed the total number of posts.
--- Code: ---Airr 337 9
alej 1884 3
Bill 2860 2
BPak 561 3
Charles Pegge 1575 6
csisgro 881 1
davebarnes 2 1
DJBenson31 1451 1
dons333 1191 4
E.K.Virtanen 1104 13
EfSeven 1448 1
Erik 1889 1
erosolmi 1825 0
eslipak 1319 0
falkyr11 2008 1
Fouad_msb 484 14
GSAC3 883 4
jhouck 784 4
johng Never 0
jsoft 2084 2
Ken Arck 778 10
Kirkkaf 471 4
konaexpress 685 0
kryton9 127 48
KusaNagi 1028 1
lsk040365 1876 0
Luka Never 0
Manjusha Never 0
Marcel 1320 5
meljr 1068 1
mesbas 2 14
Michael 2144 5
midiwall 1329 3
mo 552 0
montanan 1990 2
mpiotro 1 1
mrue Never 0
MystikShadows 475 0
nickmat 325 0
nime 1162 2
Oldno7 2890 1
paopao 2321 6
patforkin 942 8
philpots 1965 0
Pjot 2848 2
Ran 64 6
roblos 2181 1
RONB 33 18
rsondrusek 2 0
sc 1616 1
SpaceLifeForm 723 1
steve 1240 2
tbohon 2 2
Techecho 1403 1
Teropita 266 2
Verhas 295 15
votan 1467 7
vtboymac 466 0
Zulfi.Ali 1310 12
--- End code ---
RONB:
Looking forward to the new release, thanks for all the effort.
midiwall:
I'm in! We're using it at work for test automation on a Linux product.
Support:
What's cooking in the SB kitchen. ;D
C:\scriptbasic\source\bin\exe>scriba -v
ScriptBasic v2.2
Variation >>Windows64<< build 1
Magic value 858999605
Node size is 16
Extension interface version is 11
Compilation: Mar 15 2014 12:02:43
Executable: C:\scriptbasic\source\bin\exe\scriba.exe
C:\scriptbasic\source\bin\exe>
I was able to get the current MySQL Windows 64 bit server running and working with the Script BASIC MySQL extension module. I'm almost there with Curl (ssl & ssh support) but it's a picky library to get running under Windows and 64 bit no less.
--- Code: ---' MySQL Test Program
INCLUDE mysql.bas
dbh = mysql::RealConnect("localhost","root","","test")
mysql::query(dbh,"SELECT * FROM products WHERE productLine = 'Motorcycles'")
WHILE mysql::FetchHash(dbh,column)
PRINT column{"productName"}," - ",column{"productDescription"},"\n\n"
WEND
PRINTNL
PRINT "The database handle is: ",dbh,"\n"
PRINT "Affected rows by SELECT: ",mysql::AffectedRows(dbh),"\n"
PRINT "Character set name is: ",mysql::CharacterSetName(dbh),"\n"
PRINT "Last error is: ",mysql::ErrorMessage(dbh),"\n"
PRINT "Client info is: ",mysql::GetClientInfo(),"\n"
PRINT "Host info is: ",mysql::GetHostInfo(dbh),"\n"
PRINT "Proto info is: ",mysql::GetProtoInfo(dbh),"\n"
PRINT "Server info is: ",mysql::GetServerInfo(dbh),"\n"
PRINT "PING result: ",mysql::Ping(dbh),"\n"
PRINT "Thread ID: ",mysql::ThreadId(dbh),"\n"
PRINT "Status is: ",mysql::Stat(dbh),"\n"
mysql::Close(dbh)
--- End code ---
Query Output
--- Code: ---C:\scriptbasic\test>scriba testmysql.sb
1969 Harley Davidson Ultimate Chopper - This replica features working kickstand, front suspension, gear-shift lever, footbrake lever
, drive chain, wheels and steering. All parts are particularly delicate due to their precise scale and require special care and atte
ntion.
1996 Moto Guzzi 1100i - Official Moto Guzzi logos and insignias, saddle bags located on side of motorcycle, detailed engine, working
steering, working suspension, two leather seats, luggage rack, dual exhaust pipes, small saddle bag located on handle bars, two-ton
e paint with chrome accents, superior die-cast detail , rotating wheels , working kick stand, diecast metal with plastic parts and b
aked enamel finish.
2003 Harley-Davidson Eagle Drag Bike - Model features, official Harley Davidson logos and insignias, detachable rear wheelie bar, he
avy diecast metal with resin parts, authentic multi-color tampo-printed graphics, separate engine drive belts, free-turning front fo
rk, rotating tires and rear racing slick, certificate of authenticity, detailed engine, display stand
, precision diecast replica, baked enamel finish, 1:10 scale model, removable fender, seat and tank cover piece for displaying the s
uperior detail of the v-twin engine
2002 Suzuki XREO - Official logos and insignias, saddle bags located on side of motorcycle, detailed engine, working steering, worki
ng suspension, two leather seats, luggage rack, dual exhaust pipes, small saddle bag located on handle bars, two-tone paint with chr
ome accents, superior die-cast detail , rotating wheels , working kick stand, diecast metal with plastic parts and baked enamel fini
sh.
1936 Harley Davidson El Knucklehead - Intricately detailed with chrome accents and trim, official die-struck logos and baked enamel
finish.
1957 Vespa GS150 - Features rotating wheels , working kick stand. Comes with stand.
1997 BMW R 1100 S - Detailed scale replica with working suspension and constructed from over 70 parts
1960 BSA Gold Star DBD34 - Detailed scale replica with working suspension and constructed from over 70 parts
1982 Ducati 900 Monster - Features two-tone paint with chrome accents, superior die-cast detail , rotating wheels , working kick sta
nd
1997 BMW F650 ST - Features official die-struck logos and baked enamel finish. Comes with stand.
1982 Ducati 996 R - Features rotating wheels , working kick stand. Comes with stand.
1974 Ducati 350 Mk3 Desmo - This model features two-tone paint with chrome accents, superior die-cast detail , rotating wheels , wor
king kick stand
2002 Yamaha YZR M1 - Features rotating wheels , working kick stand. Comes with stand.
The database handle is: 1
Affected rows by SELECT: 13
Character set name is: latin1
Last error is:
Client info is: 5.6.16
Host info is: localhost via TCP/IP
Proto info is: 10
Server info is: 5.6.16
PING result: -1
Thread ID: 0
Status is: Uptime: 964 Threads: 1 Questions: 46 Slow queries: 0 Opens: 74 Flush tables: 1 Open tables: 65 Queries per second
avg: 0.047
C:\scriptbasic\test>
--- End code ---
@Tom (mesbas) - Your math additions work fine under Windows 64 bit. I wasn't surprised as they have been part the Linux 64 bit version for some time.
--- Code: ---' Given the starting value of 34 degrees, calculate radians.
' Given the radian value, calculate TAN, COTAN, SECANT and COSECANT.
' Given the TAN, COTAN, SECANT and COSECANT values,
' calculate the ATAN, ACTAN, ASECANT and ACOSECANT.
'
degval = 34
radval = RAD(degval)
zerval = 0
tanval = TAN(radval)
cotval = COTAN(radval)
secval = SECANT(radval)
cseval = COSECANT(radval)
ataval = ATAN(tanval)
actval = ACTAN(cotval)
aseval = ASECANT(secval)
acoval = ACOSECANT(cseval)
hsinv = HSIN(radval)
hcosv = HCOS(radval)
htanv = HTAN(radval)
hsecv = HSECANT(radval)
hcosc = HCOSECANT(radval)
hcotv = HCTAN(radval)
print "\nThe following 8 functions accept radians as their argument, so we "
print "use the\nnew RAD() function to convert ",degval," degrees to ",FORMAT("%.12f",radval)," radians.\n\n"
print "Tangent\t\tCotangent\tSecant\t\tCosecant\n"
print "TAN() \t\tCOTAN() \tSECANT() \tCOSECANT()\n"
print FORMAT("%.12f",tanval),"\t",FORMAT("%.12f",cotval),"\t",FORMAT("%.12f",secval),"\t",FORMAT("%.12f",cseval),"\n\n"
print "Arctangent\tArccotangent\tArcsecant\tArccosecant\n"
print "ATAN() \tACTAN() \tASECANT()\tACOSECANT()\n"
print FORMAT("%.12f",ataval),"\t",FORMAT("%.12f",actval),"\t",FORMAT("%.12f",aseval),"\t",FORMAT("%.12f",acoval),"\n\n"
print "There are 6 Hyperbolic functions. They also accept radian arguments.\n\n"
print "H-Sine\t\tH-Cosine\tH-Tangent\n"
print "HSIN()\t\tHCOS() \tHTAN()\n"
print FORMAT("%.12f",hsinv),"\t",FORMAT("%.12f",hcosv),"\t",FORMAT("%.12f",htanv),"\n\n"
print "H-Secant\tH-Cosecant\tH-Cotangent\n"
print "HSECANT()\tHCOSECANT()\tHCTAN()\n"
print FORMAT("%.12f",hsecv),"\t",FORMAT("%.12f",hcosc),"\t",FORMAT("%.12f",hcotv),"\n"
--- End code ---
Output
--- Code: ---C:\scriptbasic\test>scriba testmath.sb
The following 8 functions accept radians as their argument, so we use the
new RAD() function to convert 34 degrees to 0.593411945678 radians.
Tangent Cotangent Secant Cosecant
TAN() COTAN() SECANT() COSECANT()
0.674508516842 1.482560968513 1.206217948504 1.788291649971
Arctangent Arccotangent Arcsecant Arccosecant
ATAN() ACTAN() ASECANT() ACOSECANT()
0.593411945678 0.593411945678 0.593411945678 0.593411945678
There are 6 Hyperbolic functions. They also accept radian arguments.
H-Sine H-Cosine H-Tangent
HSIN() HCOS() HTAN()
0.628857432614 1.181296605664 0.532345077095
H-Secant H-Cosecant H-Cotangent
HSECANT() HCOSECANT() HCTAN()
0.846527447218 1.590185546257 1.878480788171
C:\scriptbasic\test>
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version