PDA

View Full Version : Is there a carriage return character in INPUT box text?



Scott216
08-15-2022, 06:32 AM
I'd like to format my INPUT box text a bit by using a carriage return (or line feed). Is there a way to do this in a sbp file?

bill.young
08-15-2022, 10:14 AM
As far as I know you can't , but must admit to never trying it. I'll dig a little and see what I can find out

bill.young
08-16-2022, 02:34 PM
Scott...it looks like you are out of luck. The SB3 software expects a string for the INPUT box caption text and doesn't know what to do with any of those kind of special characters.

Sorry

coryatjohn
08-16-2022, 05:21 PM
Have you tried using a \n or \r character? It might work even if not documented.

EricSchimel
08-17-2022, 10:33 AM
If you're attempting to test multi-line code the easiest way I found to do it was to use the built in SBEdit tool. You can write however many lines of code you want and run the code right from that utility.

That input box is OK for just one command, but when testing it always bugged me because what you type in would disappear as soon as you ran it, using SBedit, even for something simple as a one or two line test was way better in my opinion.