![]() |
Well, the fallen angel has decided to take an intrest in GScript!
Ah heh..he only has one question...
Umm...what's a good way to start learning GScript? I look at it, and understand some things, like if() statemnts and how functions work...but nothing else. :( :( :( |
Many ways can be used to learn how to script:
-Look at other's script and modify them (such as thym's leaf npc on the classic, the quest where you go in a tree and have to save a fairy village :p) -By trying stuff and reading Ace's guide on the doc section on the website -Huh, already knowing other programming language (C++ and the others =P) |
Quote:
|
Quote:
|
Quote:
Cgi = c++,Perl,Phyton etc. I think u mean Perl in that case ;) but yay you are right if u know a little bit about Perl or PHP it's better to start, you don't have to learn how to use variables or the syntax of gscript... |
Pear is considered the default CGI script. Pearl in my eyes is the EZest language to learn, since you can almost do anything anyway you want and its so simple to parse things and.... the lis tgoes on :O
|
Quote:
but because it's the most used part of cgi u can't just call Perl CGI itsself because it's just a part of what u have to call cgi. This would give a wrong expression to people who don't know what cgi basicly is... |
Common Gateway Interface
Duh, But when you hear CGI you think Perl |
Quote:
|
CGI and Perl actually are the same, CGI is considered a language by the Unix community at least and since they are the ones who made it, i'd go with them. PHP is actually the easiest by judgment, since it automatically decides if something is a string, int, etc. CGI is just a different version of perl. and is indeed a different language. The reason i say that PHP is easier is because i learned php in 10 mins while Perl took 45. ;).
AH if you know PHP you are well on your way to GScript, there are many differences but if you can learn PHP you can DEFINATLY learn GScript. There are array() = setarray, messages = echo, etc. So just do as Kaimetsu says and all will be good, cause kaimetsu is the intellegence of the forums, we are all his drones. ;) |
Quote:
i was really into javascript before i started doing more GScript stuff ... |
if you know a programming language then its not hard..
syntax is diff. and ways that things work. but the basic idea of programming is not new so not so hard. |
Quote:
"CGI is just a different version of perl" <--- u haven't read my post dude, plz don't talk nonsens... cgi != Perl it's only one of these languages used for cgi it's not cgi itsself... |
Quote:
[definition of cgi] The Common Gateway Interface (CGI) is a standard for interfacing external applications with information servers, such as HTTP or Web servers. A plain HTML document that the Web daemon retrieves is static, which means it exists in a constant state: a text file that doesn't change. A CGI program, on the other hand, is executed in real-time, so that it can output dynamic information. [/definition] [definition 2 for clarification] CGI stands for Common Gateway Interface, and is a mechanism through which a browser is allowed to communicate with programs running on a server. If you look at each word in turn it makes more sense - Common - something that is available to many people, regardless of what software they are using. Gateway - a portal through which two things communicate. In this case, the browser communicates to the server. Interface - this implies that we are providing a "front end" for the application running on the server, which is exactly what it is. You enter information in the form, for example, and this is submitted to the program, just like a windows-style program. [/definition] |
U don't need to set the variable-type for Perl too....
and bc Perl is a part of the big cgi-world it's not CGI itsself Mr Company Owner ^_^ |
HTML ;)
|
all i know is:
strequals, a few #things, for that, strcontains, a few #things, for that. setani whatever,; replaceani Blahlolez,usuck; I'd like to learn things like this.whatever=0, etc, tokenize, sin, cos, more light effects things, variables or whatever. and more. I don't know anyone that is willing to teach or any good tutorials. |
| All times are GMT +2. The time now is 10:53 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.