Computer Science Canada
Programming C, C++, Java, PHP, Ruby, Turing, VB
Username:
Password:
Register
Wiki
Blog
Search
Turing
Chat Room
Members
Is it possible?? get
Index
->
Programming, Turing
->
Turing Help
Author
Message
imsry
Posted:
Sun Dec 13, 2009 6:05 pm
Post subject: Is it possible?? get
What is it you are trying to achieve?
Is it possible to move the
get
somewhere else other than the top left corner?
What is the problem you are having?
i need a code that can move get to the middle. if its possible.
would it be location(??,??)
Please specify what version of Turing you are using
4.1
Sponsor
Sponsor
ecookman
Posted:
Sun Dec 13, 2009 6:09 pm
Post subject: RE:Is it possible?? get
im sorry, but you are rather unspecific. do you have something like this...
code:
var a : int
get a
put a
and you are wondering how to move the cursor or where text is on the screen?
If so, locate(X,Y) will do ya.
the x coordinate is the number of spaces from the left and the y is the lines (returns). It does not work by pixels.
imsry
Posted:
Sun Dec 13, 2009 6:25 pm
Post subject: RE:Is it possible?? get
Sweet Thanks : D
ecookman
Posted:
Sun Dec 13, 2009 6:26 pm
Post subject: Re: RE:Is it possible?? get
imsry @ Sun Dec 13, 2009 6:25 pm wrote:
Sweet Thanks : D
no problem, just next time please try to be more descriptive.
Zren
Posted:
Sun Dec 13, 2009 6:29 pm
Post subject: RE:Is it possible?? get
locatexy(x,y)
does though.
For the procedure ecookman told you though. In order to start the text in the middle, you can use:
maxcol div 2
and
maxrow div 2
to get the middle column and row.
ecookman
Posted:
Sun Dec 13, 2009 6:30 pm
Post subject: Re: RE:Is it possible?? get
Zren @ Sun Dec 13, 2009 6:29 pm wrote:
locatexy(x,y)
does though.
For the procedure ecookman told you though. In order to start the text in the middle, you can use:
maxcol div 2
and
maxrow div 2
to get the middle column and row.
aah thanks for that zren I forgot what function I had to div to get tin in the middle lol maxx and maxy does not work XD
merci buckets.
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Index
->
Programming, Turing
->
Turing Help
Page
1
of
1
[ 6 Posts ]
Jump to:
Select a forum
CompSci.ca
------------
- Network News
- General Discussion
General Forums
-----------------
- Hello World
- Featured Poll
- Contests
Contest Forums
-----------------
- DWITE
- [FP] Contest 2006/2008
- [FP] 2005/2006 Archive
- [FP] 2004/2005 Archive
- Off Topic
Lounges
---------
- User Lounge
- VIP Lounge
Programming
--------------
- General Programming
General Programming Forums
--------------------------------
- Functional Programming
- Logical Programming
- C
C
--
- C Help
- C Tutorials
- C Submissions
- C++
C++
----
- C++ Help
- C++ Tutorials
- C++ Submissions
- Java
Java
-----
- Java Help
- Java Tutorials
- Java Submissions
- Ruby
Ruby
-----
- Ruby Help
- Ruby Tutorials
- Ruby Submissions
- Turing
Turing
--------
- Turing Help
- Turing Tutorials
- Turing Submissions
- PHP
PHP
----
- PHP Help
- PHP Tutorials
- PHP Submissions
- Python
Python
--------
- Python Help
- Python Tutorials
- Python Submissions
- Visual Basic and Other Basics
VB
---
- Visual Basic Help
- Visual Basic Tutorials
- Visual Basic Submissions
Education
-----------
- Student Life
Graphics and Design
-----------------------
- Web Design
Web Design Forums
---------------------
- (X)HTML Help
- (X)HTML Tutorials
- Flash MX Help
- Flash MX Tutorials
- Graphics
Graphics Forums
------------------
- Photoshop Tutorials
- The Showroom
- 2D Graphics
- 3D Graphics
Teams
------
- dTeam Public
Style:
Appalachia
blueSilver
eMJay
subAppalachia
subBlue
subCanvas
subEmjay
subGrey
subSilver
subVereor
Search:
You can syndicate this boards posts using the file
backend.php
or view the
topic map using sitemap.php.
Terms of Use
|
Privacy Policy