BBC BASIC for Windows
« Vertical text »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:45pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Vertical text  (Read 839 times)
Ric
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 136
xx Vertical text
« Thread started on: May 28th, 2016, 2:55pm »

A simple question.

Can BB4W output text to the screen vertically?
Would be ideal if I could do
Code:
VDU 5
MOVE X,Y
PRINT VERTICAL"TEXTTEXTTEXT"
VDU 4 


Yours hoping
Ric
« Last Edit: May 28th, 2016, 3:02pm by Ric » User IP Logged

It's always possible, but not necessarily how you first thought. Chin up and try again.
JGHarston
Junior Member
ImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 52
xx Re: Vertical text
« Reply #1 on: May 28th, 2016, 11:32pm »

on May 28th, 2016, 2:55pm, Ric wrote:
A simple question.

Can BB4W output text to the screen vertically?
Would be ideal if I could do
Code:
VDU 5
MOVE X,Y
PRINT VERTICAL"TEXTTEXTTEXT"
VDU 4 


Yours hoping
Ric

VDU 23,16 controls cursor direction. link, link

eg:
VDU 23,16,8;0;0;0;
PRINT "Hello there"

User IP Logged

Ric
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 136
xx Re: Vertical text
« Reply #2 on: May 29th, 2016, 07:19am »

Thanks JG,

I knew it had to be simple, just couldn't find it.


Ric
User IP Logged

It's always possible, but not necessarily how you first thought. Chin up and try again.
Ric
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 136
xx Re: Vertical text
« Reply #3 on: May 29th, 2016, 07:46am »

JG
Just tested VDU 23,16 which does what it says but not what I want.
What I wanted to do was to effectively rotate the text through 90 degrees so that I could insert in to vertical tabs.
I could do this with screen capture, do the rotation and reprint the dots, but it would be long winded and slow.
Help

Ric
User IP Logged

It's always possible, but not necessarily how you first thought. Chin up and try again.
RockOve
New Member
Image


member is offline

Avatar




PM


Posts: 7
xx Re: Vertical text
« Reply #4 on: May 30th, 2016, 9:26pm »

on May 29th, 2016, 07:46am, Ric wrote:
JG
Just tested VDU 23,16 which does what it says but not what I want.
What I wanted to do was to effectively rotate the text through 90 degrees so that I could insert in to vertical tabs.
I could do this with screen capture, do the rotation and reprint the dots, but it would be long winded and slow.
Help

Ric

i think you try to figure a way to tilt the screen output, a way that its at its side all the time?
User IP Logged

KenDown
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 181
xx Re: Vertical text
« Reply #5 on: Jun 1st, 2016, 07:23am »

Search in the Help file that comes with BB4W. Select the "Search" tab and type in "angle" as the keyword. One of the options is "Drawing angled text". It will do what you want.

The only thing to be aware of is that the size of the text is predetermined with the height% variable and altering the font size (*FONT) will not change the size of the angled text.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls