Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

News

Welcome to Yet Another Programming Community!

 
Pages: [1]   Go Down Print
Author Topic: DrawText()  (Read 284 times)
GamesGo1315
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 13



View Profile WWW
« on: October 09, 2009, 02:23:12 PM »

I'm new at pascal (just got it yesterday.) so my method of learning is picking apart code.

whith this function:
DrawText(argument0,argument1,argument2,argument3,argument4);

what are the arguments ? or are there more or less arguments ?
Logged
TheMagicNumber
Full Member
***

Karma: +1/-25
Offline Offline

Posts: 123

What?


View Profile
« Reply #1 on: October 09, 2009, 02:27:14 PM »

Pascal isn't that crazy, what did you download, and where did you find that?

I'm guessing that's for GDI (http://en.wikipedia.org/wiki/Handle_of_Device_Context). You shouldn't use this if you're new, you should do console-mode things first.
« Last Edit: October 09, 2009, 02:31:18 PM by TheMagicNumber » Logged

GamesGo1315
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 13



View Profile WWW
« Reply #2 on: October 09, 2009, 03:35:21 PM »

I don't understand ? hears the pascal I have http://www.bloodshed.net/devpascal.html . whats crazy about it ? what do you mean ?  Roll Eyes
Logged
TheMagicNumber
Full Member
***

Karma: +1/-25
Offline Offline

Posts: 123

What?


View Profile
« Reply #3 on: October 10, 2009, 09:15:10 AM »

That function is for GDI, I was saying no Pascal distribution is that descriptive about functions' parameters. All seem better.

Besides, it's a Windows API function: http://msdn.microsoft.com/en-us/library/ms901121.aspx
Logged

GamesGo1315
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 13



View Profile WWW
« Reply #4 on: October 11, 2009, 05:39:24 PM »

I still don't follow...I'm a newbie at any language that isn't GML (Even English(my firs language)  Grin .) are you saying that there aren't exact arguments, or that pascal doesn't do graphics ?
Logged
TheMagicNumber
Full Member
***

Karma: +1/-25
Offline Offline

Posts: 123

What?


View Profile
« Reply #5 on: October 11, 2009, 08:09:34 PM »

Neither. Pretty much all programming languages do graphics, but for you, I suggest you learn Turing: http://compsci.ca/holtsoft/turing405_install.zip

It's free (use 4.0.5, newer versions can't make executables and don't have any large changes), and similar to (Object) Pascal.
Logged

GamesGo1315
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 13



View Profile WWW
« Reply #6 on: October 12, 2009, 10:22:16 AM »

Wow, that's neat. But can it make DLL's for GameMaker ?
Logged
Pages: [1]   Go Up Print
 
Jump to:  

 
     
Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Theme by Roach
Valid XHTML 1.0! Valid CSS!