How to print a generic type in ada?

i am currently trying to print ("Ada.Text_IO.Put") a generic type, but this always fails with errors like that: missing argument for parameter "Item" in call to "Put" declared at, instance at expected type "Standard.I...
more »

2017-01-06 23:01 (2) Answers

Why doesn't both these codes give the same output?

So I want draw a field (of array strings) with obstacles and free spaces. "+" are the obstacles and free spaces are just "". And if we have a free space, I want it replaced by "*". I will choose one specific element of that 2d array that equals "" an...
more »

2017-01-05 11:01 (4) Answers

Update default printer name during runtime

Right now, I have a few lines of ObjC to poll for a default printer being set, and in my app it should update a label with that new printer's name, but so far it isn't working. In my controller, I have the following: [self updatePrinter]; Which c...
more »

2016-12-19 23:12 (1) Answers

Swift print() with color

I am using XCode 8 and the code let redColor = "\u{001B}[0;31m" var message = "Some Message" print(redColor + message) //This doesnt work print("\(redColor)\(message)" //This also doesnt work and the output would look like this [0;31mSome Messag...
more »

2016-11-14 08:11 (0) Answers

Excel VBA set print area to last row with data

I have an Excel table with a sheet "CR" where columns A to K are filled, with the first row being a header row. Rows 1-1000 are formatted (borders) and column A contains a formula to autonumber the rows when data in column F is entered. Sheet "CR" ...
more »

2016-11-13 17:11 (2) Answers

Cannot specify the correct size for printing

We have acquired a brother QL-700 printer recently and we are doing some sticker printing through this machine. The paper that we have been feeding is a 62mm-wide sticker roll without "length" restriction. The issue is, no matter how I do (I've tri...
more »

2016-11-10 10:11 (1) Answers

Excel ignoring VBA Print Settings

For some reason Excel is ignoring my "Fit 1 by 1" rule here. I tried to adjust the zoom but anything I do doesn't seem to work. Any ideas are utmost welcome! Thank you! Private Sub CommandButton1_Click() Dim Sel_Manager As String 'Specify headers ...
more »

2016-11-08 11:11 (1) Answers