*** SBT ***
jrs@linux-dev:~/sb/examples$ scriba sbt_demo.sb
123
1.23
One, Two, Three
Function Return
321
32.1
Three,Two,One
jrs@linux-dev:~/sb/examples$
jrs@linux-dev:~/sb/examples$ scriba sbt_main.sb
M:1
T:1
M:2
T:2
M:3
T:3
M:4
T:4
M:5
T:5
M:6
T:6
M:7
T:7
M:8
T:8
M:9
T:9
M:10
T:10
Thread Completed
jrs@linux-dev:~/sb/examples$
*** CURL ***
jrs@linux-dev:~/sb/examples$ scriba curl_wget.sb
http://www.textfiles.com/etext/FICTION/warpeace.txt
Data downloaded: 4434670 bytes.
Total download time: 1.510 sec.
Average download speed: 2868.000 kbyte/sec.
jrs@linux-dev:~/sb/examples$
*** GMP ***
jrs@linux-dev:~/sb/examples$ scriba gmpmath.sb
ADD: 2222222211
SUB: 246913569
MUL: 1219326311126352690
DIV: 617283945
ScriptBasic MAXINT: 9223372036854775807
jrs@linux-dev:~/sb/examples$
*** MYSQL ***
jrs@linux-dev:~/sb/examples$ scriba testmysql.sb
S10_1678 - 1969 Harley Davidson Ultimate Chopper - $ 95.70
S10_1949 - 1952 Alpine Renault 1300 - $214.30
S10_2016 - 1996 Moto Guzzi 1100i - $118.94
S10_4698 - 2003 Harley-Davidson Eagle Drag Bike - $193.66
S10_4757 - 1972 Alfa Romeo GTA - $136.00
S10_4962 - 1962 LanciaA Delta 16V - $147.74
S12_1099 - 1968 Ford Mustang - $194.57
S12_1108 - 2001 Ferrari Enzo - $207.80
S12_1666 - 1958 Setra Bus - $136.67
S12_2823 - 2002 Suzuki XREO - $150.62
S12_3148 - 1969 Corvair Monza - $151.08
S12_3380 - 1968 Dodge Charger - $117.44
S12_3891 - 1969 Ford Falcon - $173.02
S12_3990 - 1970 Plymouth Hemi Cuda - $ 79.80
S12_4473 - 1957 Chevy Pickup - $118.50
S12_4675 - 1969 Dodge Charger - $115.16
S18_1097 - 1940 Ford Pickup Truck - $116.67
S18_1129 - 1993 Mazda RX-7 - $141.54
S18_1342 - 1937 Lincoln Berline - $102.74
S18_1367 - 1936 Mercedes-Benz 500K Special Roadster - $ 53.91
S18_1589 - 1965 Aston Martin DB5 - $124.44
S18_1662 - 1980s Black Hawk Helicopter - $157.69
S18_1749 - 1917 Grand Touring Sedan - $170.00
S18_1889 - 1948 Porsche 356-A Roadster - $ 77.00
S18_1984 - 1995 Honda Civic - $142.25
S18_2238 - 1998 Chrysler Plymouth Prowler - $163.73
S18_2248 - 1911 Ford Town Car - $ 60.54
S18_2319 - 1964 Mercedes Tour Bus - $122.73
S18_2325 - 1932 Model A Ford J-Coupe - $127.13
S18_2432 - 1926 Ford Fire Engine - $ 60.77
S18_2581 - P-51-D Mustang - $ 84.48
S18_2625 - 1936 Harley Davidson El Knucklehead - $ 60.57
S18_2795 - 1928 Mercedes-Benz SSK - $168.75
S18_2870 - 1999 Indy 500 Monte Carlo SS - $132.00
S18_2949 - 1913 Ford Model T Speedster - $101.31
S18_2957 - 1934 Ford V8 Coupe - $ 62.46
S18_3029 - 1999 Yamaha Speed Boat - $ 86.02
S18_3136 - 18th Century Vintage Horse Carriage - $104.72
S18_3140 - 1903 Ford Model A - $136.59
S18_3232 - 1992 Ferrari 360 Spider red - $169.34
S18_3233 - 1985 Toyota Supra - $107.57
S18_3259 - Collectable Wooden Train - $100.84
S18_3278 - 1969 Dodge Super Bee - $ 80.41
S18_3320 - 1917 Maxwell Touring Car - $ 99.21
S18_3482 - 1976 Ford Gran Torino - $146.99
S18_3685 - 1948 Porsche Type 356 Roadster - $141.28
S18_3782 - 1957 Vespa GS150 - $ 62.17
S18_3856 - 1941 Chevrolet Special Deluxe Cabriolet - $105.87
S18_4027 - 1970 Triumph Spitfire - $143.62
S18_4409 - 1932 Alfa Romeo 8C2300 Spider Sport - $ 92.03
S18_4522 - 1904 Buick Runabout - $ 87.77
S18_4600 - 1940s Ford truck - $121.08
S18_4668 - 1939 Cadillac Limousine - $ 50.31
S18_4721 - 1957 Corvette Convertible - $148.80
S18_4933 - 1957 Ford Thunderbird - $ 71.27
S24_1046 - 1970 Chevy Chevelle SS 454 - $ 73.49
S24_1444 - 1970 Dodge Coronet - $ 57.80
S24_1578 - 1997 BMW R 1100 S - $112.70
S24_1628 - 1966 Shelby Cobra 427 S/C - $ 50.31
S24_1785 - 1928 British Royal Navy Airplane - $109.42
S24_1937 - 1939 Chevrolet Deluxe Coupe - $ 33.19
S24_2000 - 1960 BSA Gold Star DBD34 - $ 76.17
S24_2011 - 18th century schooner - $122.89
S24_2022 - 1938 Cadillac V-16 Presidential Limousine - $ 44.80
S24_2300 - 1962 Volkswagen Microbus - $127.79
S24_2360 - 1982 Ducati 900 Monster - $ 69.26
S24_2766 - 1949 Jaguar XK 120 - $ 90.87
S24_2840 - 1958 Chevy Corvette Limited Edition - $ 35.36
S24_2841 - 1900s Vintage Bi-Plane - $ 68.51
S24_2887 - 1952 Citroen-15CV - $117.44
S24_2972 - 1982 Lamborghini Diablo - $ 37.76
S24_3151 - 1912 Ford Model T Delivery Wagon - $ 88.51
S24_3191 - 1969 Chevrolet Camaro Z28 - $ 85.61
S24_3371 - 1971 Alpine Renault 1600s - $ 61.23
S24_3420 - 1937 Horch 930V Limousine - $ 65.75
S24_3432 - 2002 Chevy Corvette - $107.08
S24_3816 - 1940 Ford Delivery Sedan - $ 83.86
S24_3856 - 1956 Porsche 356A Coupe - $140.43
S24_3949 - Corsair F4U ( Bird Cage) - $ 68.24
S24_3969 - 1936 Mercedes Benz 500k Roadster - $ 41.03
S24_4048 - 1992 Porsche Cayenne Turbo Silver - $118.28
S24_4258 - 1936 Chrysler Airflow - $ 97.39
S24_4278 - 1900s Vintage Tri-Plane - $ 72.45
S24_4620 - 1961 Chevrolet Impala - $ 80.84
S32_1268 - 1980?s GM Manhattan Express - $ 96.31
S32_1374 - 1997 BMW F650 ST - $ 99.89
S32_2206 - 1982 Ducati 996 R - $ 40.23
S32_2509 - 1954 Greyhound Scenicruiser - $ 54.11
S32_3207 - 1950's Chicago Surface Lines Streetcar - $ 62.14
S32_3522 - 1996 Peterbilt 379 Stake Bed with Outrigger - $ 64.64
S32_4289 - 1928 Ford Phaeton Deluxe - $ 68.79
S32_4485 - 1974 Ducati 350 Mk3 Desmo - $102.05
S50_1341 - 1930 Buick Marquette Phaeton - $ 43.64
S50_1392 - Diamond T620 Semi-Skirted Tanker - $115.75
S50_1514 - 1962 City of Detroit Streetcar - $ 58.58
S50_4713 - 2002 Yamaha YZR M1 - $ 81.36
S700_1138 - The Schooner Bluenose - $ 66.67
S700_1691 - American Airlines: B767-300 - $ 91.34
S700_1938 - The Mayflower - $ 86.61
S700_2047 - HMS Bounty - $ 90.52
S700_2466 - America West Airlines B757-200 - $ 99.72
S700_2610 - The USS Constitution Ship - $ 72.28
S700_2824 - 1982 Camaro Z28 - $101.15
S700_2834 - ATA: B757-300 - $118.65
S700_3167 - F/A 18 Hornet 1/72 - $ 80.00
S700_3505 - The Titanic - $100.17
S700_3962 - The Queen Mary - $ 99.31
S700_4002 - American Airlines: MD-11S - $ 74.03
S72_1253 - Boeing X-32A JSF - $ 49.66
S72_3212 - Pont Yacht - $ 54.60
The database handle is: 1
Affected rows by SELECT: 110
Character set name is: utf8mb4
Last error is:
Client info is: 8.0.36
Host info is: 127.0.0.1 via TCP/IP
Proto info is: 10
Server info is: 8.0.36-0ubuntu0.22.04.1
PING result: -1
Thread ID: 0
Status is: Uptime: 2530 Threads: 2 Questions: 4 Slow queries: 0 Opens: 140 Flush tables: 3 Open tables: 59 Queries per second avg: 0.001
jrs@linux-dev:~/sb/examples$
*** MXML ***
jrs@linux-dev:~/sb/examples$ scriba testmxml.sb
Test2: And this is another test!
Image: madonna.jpg
Alt Image: Foligno Madonna, by Raphael
ID = 1
Name = Hello, world!
ID = 2
Name = Hello, China!
jrs@linux-dev:~/sb/examples$
*** JSON ***
jrs@linux-dev:~/sb/examples$ scriba testjson.sb
{
"Preferences": {
"AccountingInfoPrefs": {
"UseAccountNumbers": false,
"TrackDepartments": false,
"ClassTrackingPerTxn": false,
"ClassTrackingPerTxnLine": false,
"FirstMonthOfFiscalYear": "January",
"TaxYearMonth": "January",
"TaxForm": "1",
"CustomerTerminology": "Customers"
},
"ProductAndServicesPrefs": {
"ForSales": true,
"ForPurchase": true,
"QuantityWithPriceAndRate": true,
"QuantityOnHand": true,
"RevenueRecognition": false,
"RevenueRecognitionFrequency": "MONTHLY"
},
"SalesFormsPrefs": {
"UsingProgressInvoicing": false,
"CustomField": [
{
"CustomField": [
{
"Name": "SalesFormsPrefs.UseSalesCustom3",
"Type": "BooleanType",
"BooleanValue": false
},
{
"Name": "SalesFormsPrefs.UseSalesCustom1",
"Type": "BooleanType",
"BooleanValue": true
},
{
"Name": "SalesFormsPrefs.UseSalesCustom2",
"Type": "BooleanType",
"BooleanValue": false
}
]
},
{
"CustomField": [
{
"Name": "SalesFormsPrefs.SalesCustomName1",
"Type": "StringType",
"StringValue": "Crew #"
}
]
},
{
"CustomField": [
{
"Module": "Json",
"Author": {
"FirstName": "Armando",
"LastName": "Rivera",
"Alias": "AIR"
}
}
]
}
],
"CustomTxnNumbers": false,
"EmailCopyToCompany": false,
"AllowDeposit": false,
"AllowDiscount": true,
"DefaultDiscountAccount": "86",
"AllowEstimates": true,
"ETransactionEnabledStatus": "NotApplicable",
"ETransactionAttachPDF": false,
"ETransactionPaymentEnabled": false,
"IPNSupportEnabled": false,
"AllowServiceDate": false,
"AllowShipping": false,
"DefaultTerms": {
"value": "3"
},
"AutoApplyCredit": true,
"AutoApplyPayments": true,
"UsingPriceLevels": false,
"DefaultCustomerMessage": "Thank you for your business and have a great day!"
},
"EmailMessagesPrefs": {
"InvoiceMessage": {
"Subject": "Invoice from Craig's Design and Landscaping Services",
"Message": "Your invoice is attached. Please remit payment at your earliest convenience.\nThank you for your business - we appreciate it very much.\n\nSincerely,\nCraig's Design and Landscaping Services"
},
"EstimateMessage": {
"Subject": "Estimate from Craig's Design and Landscaping Services",
"Message": "Please review the estimate below. Feel free to contact us if you have any questions.\nWe look forward to working with you.\n\nSincerely,\nCraig's Design and Landscaping Services"
},
"SalesReceiptMessage": {
"Subject": "Sales Receipt from Craig's Design and Landscaping Services",
"Message": "Your sales receipt is attached.\nThank you for your business - we appreciate it very much.\n\nSincerely,\nCraig's Design and Landscaping Services"
},
"StatementMessage": {
"Subject": "Statement from Craig's Design and Landscaping Services",
"Message": "Your statement is attached. Please remit payment at your earliest convenience.\nThank you for your business - we appreciate it very much.\n\nSincerely,\nCraig's Design and Landscaping Services"
}
},
"VendorAndPurchasesPrefs": {
"TrackingByCustomer": true,
"BillableExpenseTracking": true,
"POCustomField": [
{
"CustomField": [
{
"Name": "PurchasePrefs.UsePurchaseCustom1",
"Type": "BooleanType",
"BooleanValue": true
},
{
"Name": "PurchasePrefs.UsePurchaseCustom2",
"Type": "BooleanType",
"BooleanValue": true
},
{
"Name": "PurchasePrefs.UsePurchaseCustom3",
"Type": "BooleanType",
"BooleanValue": false
}
]
},
{
"CustomField": [
{
"Name": "PurchasePrefs.PurchaseCustomName1",
"Type": "StringType",
"StringValue": "Crew #"
},
{
"Name": "PurchasePrefs.PurchaseCustomName2",
"Type": "StringType",
"StringValue": "Sales Rep"
}
]
}
]
},
"TimeTrackingPrefs": {
"UseServices": true,
"BillCustomers": true,
"ShowBillRateToAll": false,
"WorkWeekStartDate": "Monday",
"MarkTimeEntriesBillable": true
},
"TaxPrefs": {
"UsingSalesTax": true,
"TaxGroupCodeRef": {
"value": "2"
}
},
"CurrencyPrefs": {
"MultiCurrencyEnabled": false,
"HomeCurrency": {
"value": "USD"
}
},
"ReportPrefs": {
"ReportBasis": "Accrual",
"CalcAgingReportFromTxnDate": false
},
"OtherPrefs": {
"NameValue": [
{
"Name": "SalesFormsPrefs.DefaultCustomerMessage",
"Value": "Thank you for your business and have a great day!"
},
{
"Name": "SalesFormsPrefs.DefaultItem",
"Value": "1"
},
{
"Name": "DTXCopyMemo",
"Value": "false"
},
{
"Name": "UncategorizedAssetAccountId",
"Value": "32"
},
{
"Name": "UncategorizedIncomeAccountId",
"Value": "30"
},
{
"Name": "UncategorizedExpenseAccountId",
"Value": "31"
},
{
"Name": "SFCEnabled",
"Value": "true"
},
{
"Name": "DataPartner",
"Value": "false"
},
{
"Name": "Vendor1099Enabled",
"Value": "true"
},
{
"Name": "TimeTrackingFeatureEnabled",
"Value": "true"
},
{
"Name": "FDPEnabled",
"Value": "true"
},
{
"Name": "isDTXOnStage",
"Value": "false"
},
{
"Name": "ProjectsEnabled",
"Value": "true"
},
{
"Name": "VendorAndPurchasesPrefs.UseCustomTxnNumbers",
"Value": "false"
},
{
"Name": "DateFormat",
"Value": "Month Date Year separated by a slash"
},
{
"Name": "DateFormatMnemonic",
"Value": "MMDDYYYY_SEP_SLASH"
},
{
"Name": "NumberFormat",
"Value": "US Number Format"
},
{
"Name": "NumberFormatMnemonic",
"Value": "US_NB"
},
{
"Name": "WarnDuplicateCheckNumber",
"Value": "true"
},
{
"Name": "WarnDuplicateBillNumber",
"Value": "false"
},
{
"Name": "WarnDuplicateJournalNumber",
"Value": "false"
},
{
"Name": "SignoutInactiveMinutes",
"Value": "60"
},
{
"Name": "AccountingInfoPrefs.ShowAccountNumbers",
"Value": "false"
},
{
"Name": "VendorAndPurchasesPrefs.PurchaseOrderEnabled",
"Value": "true"
},
{
"Name": "VendorAndPurchasesPrefs.MarkupOnBillableExpenseEnabled",
"Value": "false"
},
{
"Name": "SalesFormsPrefs.AllowGratuity",
"Value": "false"
}
]
},
"domain": "QBO",
"sparse": false,
"Id": "1",
"SyncToken": "3",
"MetaData": {
"CreateTime": "2022-07-09T01:51:08-07:00",
"LastUpdatedTime": "2022-07-11T23:12:35-07:00"
}
},
"time": "2022-08-23T17:12:54.842-07:00"
}
jrs@linux-dev:~/sb/examples$
*** SQLITE ***
jrs@linux-dev:~/sb/examples$ scriba sqlite_demo.sb
123 - hello
234 - cruel
345 - world
jrs@linux-dev:~/sb/examples$
*** SLRE ***
jrs@linux-dev:~/sb/examples$ scriba testslre.sb
1. Samsung
2. unveiled
3. flexible
4. prototype
5. developers
6. apps
jrs@linux-dev:~/sb/examples$