Search found 133 matches

by n.allan
Sun May 24, 2020 5:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: format() function and positional specifiers
Replies: 0
Views: 94

format() function and positional specifiers

I see the dictionary in 9.6.0.-rc-1, the entry for the format() function says that the format string is the same as the cpp printf() function. On "some" cpp printf() web pages there can be positional specifiers in the format string. You can pass the parameters in a certain order, then they will be b...
by n.allan
Fri May 15, 2020 12:10 pm
Forum: Databases
Topic: SQLite Database BLOB is identified as STRING
Replies: 3
Views: 374

Re: SQLite Database BLOB is identified as STRING

Thank you both very much for your replies... @LCMark, Your solution has solved the problem. The data type is now showing as BLOB and the full chunk of data is now in the tImage variable. my final handler with your solution... on test local tQuery, tRecordSet, tImage, tResult, tID , tTypes -- some va...
by n.allan
Fri May 15, 2020 10:01 am
Forum: Databases
Topic: SQLite Database BLOB is identified as STRING
Replies: 3
Views: 374

SQLite Database BLOB is identified as STRING

I am having trouble reading BLOB data from an SQLite database file. In my sqlite database there is a table called tiles. The columns in it are zoom_level (INTEGER), tile_row (INTEGER), tile_column (INTEGER) and tile_data (BLOB). For anyone "in the know" these are industry standard raster ".mbtiles"....
by n.allan
Tue Jul 30, 2019 8:36 pm
Forum: Databases
Topic: Connecting to SQL Express (localdb)\v11
Replies: 3
Views: 1384

Re: Connecting to SQL Express (localdb)\v11

OK no joy with the file DSN or indeed the system DSN....
More research required.
by n.allan
Sun Jul 21, 2019 7:04 pm
Forum: Databases
Topic: Connecting to SQL Express (localdb)\v11
Replies: 3
Views: 1384

Re: Connecting to SQL Express (localdb)\v11

I have used file DSN in the past now you mention it. I could maybe create a file DSN to the mdf files that are created by SQL Express perhaps? I dug out this old code for creating a ODBC DSN in windows from an mdb file livecode... function createConnection theFile replace "/" with "\\" in theFile if...
by n.allan
Sun Jul 21, 2019 5:24 pm
Forum: Databases
Topic: Connecting to SQL Express (localdb)\v11
Replies: 3
Views: 1384

Connecting to SQL Express (localdb)\v11

Does anyone if livecode can connect to an SQL Express Server with the revOpenDatabase() function? By it's nature the server is on the local machine (SQL Express does not allow remote connections) I have tried... get revOpenDatabase("mysql", "localhost", "(localdb)\v11",,,,,,) get revOpenDatabase("my...
by n.allan
Thu Jun 22, 2017 10:42 am
Forum: MergEXT
Topic: MergBLE on OS X Sierra 10.12.5
Replies: 7
Views: 3303

Re: MergBLE on OS X Sierra 10.12.5

Sorry initially when I wrote the post, I had spelt "initialize" incorrectly (debatable), which caused lc to throw an error. But as you can see it has been fixed in the code. Now there are no errors thrown but I know that there are at least 3 BLE devices visible so I would expect a message box to pop...
by n.allan
Wed Jun 21, 2017 7:19 pm
Forum: Android Deployment
Topic: Version 9 Deployment issues
Replies: 2
Views: 1176

Re: Version 9 Deployment issues

OK 9.0.0-dp-5 is the last version that runs on the watch. dp-6 and dp-7 do not run on it so I'm not imagining it and Livecode used to be compatible with the device. I wonder what has changed to cause the black screen issue?
by n.allan
Wed Jun 21, 2017 4:56 pm
Forum: MergEXT
Topic: MergBLE on OS X Sierra 10.12.5
Replies: 7
Views: 3303

Re: MergBLE on OS X Sierra 10.12.5

on startBluetooth mergBLEInitialize scanBluetooth end startBluetooth on scanBluetooth mergBLEScanForPeripheralsWithServices end scanBluetooth on mergBLEDidDiscoverPeripheral pUUID, pName, pRSSI, pTX, pServiceUUIDS, pManufacturerData put pUUID, pName, pRSSI, pTX, pServiceUUIDS, pManufacturerData -- ...
by n.allan
Wed Jun 21, 2017 7:53 am
Forum: MergEXT
Topic: MergBLE on OS X Sierra 10.12.5
Replies: 7
Views: 3303

Re: MergBLE on OS X Sierra 10.12.5

I tried it with 9.0.0_dp_7 business. I just downloaded mergext from the store a couple days ago it is version it says 1.1.15
by n.allan
Tue Jun 20, 2017 7:48 pm
Forum: Android Deployment
Topic: Version 9 Deployment issues
Replies: 2
Views: 1176

Re: Version 9 Deployment issues

OK I just tried 8.1.5-rc-1 and 9.0.0-dp-1 and it runs OK on the watch I will get downloading again tonight and see how far I get.
by n.allan
Tue Jun 20, 2017 7:38 pm
Forum: MergEXT
Topic: MergBLE on OS X Sierra 10.12.5
Replies: 7
Views: 3303

MergBLE on OS X Sierra 10.12.5

Hello. Does MergBLE work on OS X Sierra? If I try to initialise it, it just throws an error that it cannot find the command. I am using business edition Livecode. I have tried copying the bundle to "My Livecode" and "My LiveCode/Extentions" but still no joy. I found a MergAV example on the forum and...
by n.allan
Tue Jun 20, 2017 8:27 am
Forum: Android Deployment
Topic: Version 9 Deployment issues
Replies: 2
Views: 1176

Version 9 Deployment issues

I have a cheap android watch Kingwear KW88. It is running android 5.1. I also have an app in google play store compiled with a stable version 7 of livecode and it runs fine on the watch. In fact ANY app I can download from play store runs on the watch without issue (apart from the tiny screen :) ) s...
by n.allan
Sun Jul 10, 2016 1:42 pm
Forum: iOS Deployment
Topic: mobilePick Character Limit
Replies: 1
Views: 820

mobilePick Character Limit

Is there any way of fitting more characters (width wise) in each line of the mobilePick menu on iOS? It truncates each line after about 6 characters. I'm deploying onto an iPhone 5S using iOS 9.3 in portrait mode.
by n.allan
Wed Jun 29, 2016 8:42 pm
Forum: Mac OS
Topic: Un Maximise Script Editor?
Replies: 12
Views: 3095

Re: Un Maximise Script Editor?

Great tip Klaus! Thanks

Go to advanced search