Hi
I was wondering if it was possible to insert a PROMPT with multiple lines in a sequence.
That is, if there was a special character like chr(13) to go to the next line on multiple lines.
Thanks
Carlo
PROMPT with multiple lines in a sequence
Forum rules
If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
- carlomuccini
- Posts: 260
- Joined: Mon Apr 27, 2020 12:42 pm
- Location: Montecatini Terme (PT), Italy
- Contact:
- admin
- Site Admin
- Posts: 17530
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: PROMPT with multiple lines in a sequence
Hi Carlo,
yes, you can do that - put '\n' in the text where you want a line break, so for example
will give you the words one two three on three separate lines.
I'm not sure that this was really a planned feature - it just works out that it works. If you find it is broken in some way (ie doesn't save and then reload properly or similar) then let me know.
cheers,
Robin
yes, you can do that - put '\n' in the text where you want a line break, so for example
Code: Select all
one\ntwo\nthreeI'm not sure that this was really a planned feature - it just works out that it works. If you find it is broken in some way (ie doesn't save and then reload properly or similar) then let me know.
cheers,
Robin